Crayola crayon color

Crayola Indigo #5D76CB

Crayola Indigo is shown here as #5D76CB, the commonly published value for the crayon. It is a soft blue in the blue family. In OKLCH it sits at lightness 0.586, chroma 0.133 and hue 269.6°. The nearest CSS named color is royalblue (#4169E1), ΔE2000 5.6 away.

Relative luminance
0.1960
OKLCH L · C · h
0.586 · 0.133 · 269.6
Best text
Black 4.91:1
Hue family
Blue

#5D76CB color codes

HEX
#5D76CB
RGB
rgb(93, 118, 203)
HSL
hsl(226, 51%, 58%)
OKLCH
oklch(0.586 0.133 269.6)
OKLab
oklab(0.586 -0.001 -0.133)
CIELAB (D65)
L* 51.38, a* 15.50, b* -47.00
XYZ (D65)
X 21.77, Y 19.59, Z 59.12
CMYK (naive)
cmyk(54%, 42%, 0%, 20%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

Crayola is a trademark of Crayola LLC, which this site is not affiliated with. The value is the commonly published sRGB rendering of the crayon, not a Crayola specification.

Legibility

Contrast: is #5D76CB accessible?

Black text on it reaches 4.91:1, passing AA. White text manages only 4.26:1, enough for large text only.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    4.91:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc +34
  • White text on it

    4.26:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc −74
  • As text on black

    4.91:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc −32
  • As text on white

    4.26:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc +69

Nearest versions that pass 4.5:1

  • For text on white

    #5971C6 4.56:1

    Darkening its OKLCH lightness from 0.59 to 0.57 reaches 4.56:1 on white, keeping the hue.

  • For text on black

    #5D76CB 4.91:1

    It already reaches 4.91:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #5D76CB live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #5D76CB

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #5D76CB sits at step 500.

  1. 50#F1F5FF
    White
    1.09
    Black
    19.24
  2. 100#E3EBFF
    White
    1.19
    Black
    17.59
  3. 200#C8D7FF
    White
    1.43
    Black
    14.62
  4. 300#A4BBFF
    White
    1.88
    Black
    11.13
  5. 400#819CF3
    White
    2.63
    Black
    7.98
  6. 500This color#5D76CB
    White
    4.26
    Black
    4.91
  7. 600#5068BB
    White
    5.19
    Black
    4.03
  8. 700#3C519F
    White
    7.31
    Black
    2.86
  9. 800#27387F
    White
    10.72
    Black
    1.95
  10. 900#15205F
    White
    14.96
    Black
    1.40
  11. 950#070C43
    White
    18.37
    Black
    1.14

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #5D76CB can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.225; #5D76CB uses 59% of it. Display P3, which many recent phones and laptops show, reaches 0.242 there: 7% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.133
sRGB edge
0.225
Display P3 edge
0.242
Rec. 2020 edge
0.245
Dominant wavelength
471 nm
Excitation purity
50%
Chromaticity
x 0.2166, y 0.1950
  • This color#5D76CB
  • Most vivid in sRGB#4B68FF
  • Most vivid in Display P3oklch(0.586 0.242 269.6)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #5d76cb;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.3064 0.391 1); }
}

Mixing

Mixing #5D76CB

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#AEBBE5
  • OKLab50%#AABAE7
  • OKLCH50%#AABAE7

Black #000000

  • sRGB50%#2F3B66
  • OKLab50%#1F294D
  • OKLCH50%#1F294D

Its complement #987800

  • sRGB50%#7B7766
  • OKLab50%#7A7C80
  • OKLCH50%#00907E
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #5d76cb, white);
color: color-mix(in oklch, #5d76cb 50%, white);

In use

#5D76CB in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:14.91:1 Passes
  • Link and body-size textText, 4.5:14.26:1 Fails
  • Large headingLarge text, 3:14.26:1 Passes
  • Icons, borders and focus ringsNon-text, 3:14.26:1 Passes

For text on this page, the nearest shade that passes is #5971C6 4.56:1

Dark page

  • Button labelText, 4.5:14.91:1 Passes
  • Link and body-size textText, 4.5:14.38:1 Fails
  • Large headingLarge text, 3:14.38:1 Passes
  • Icons, borders and focus ringsNon-text, 3:14.38:1 Passes

For text on this page, the nearest shade that passes is #6079CE 4.57:1

Color vision

How #5D76CB looks with color blindness

Achromatopsia changes it most, ΔE2000 23.6; deuteranopia changes it least, 4.4.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #5280CE ΔE2000 4.9

    Close match

    Reads as soft blue

  • Deuteranopia

    No working green (medium-wavelength) cones

    #4576C9 ΔE2000 4.4

    Close match

    Reads as soft blue

  • Tritanopia

    No working blue (short-wavelength) cones

    #238997 ΔE2000 23.5

    Distinct

    Reads as muted cyan

  • Achromatopsia

    No cone color vision; lightness only

    #7A7A7A ΔE2000 23.6

    Distinct

    Reads as gray

Pairing check

Checked against its complement, #987800. Their lightness contrast is only 1.02:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#5D76CB · #98780053.9Stays distinct
Protanopia#5280CE · #88770053.1Stays distinct
Deuteranopia#4576C9 · #90800E54.7Stays distinct
Tritanopia#238997 · #A66C6548.7Stays distinct
Achromatopsia#7A7A7A · #7C7C7C0.8Easily confused

Harmony

Color harmonies for #5D76CB

Its complement is #987800, a soft amber, on the warm side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#5D76CB
  • Complement#987800

Complementary

Open in Harmony Studio
  • −30°#0085C2
  • Base#5D76CB
  • +30°#8868BF
  • Base#5D76CB
  • +120°#BE594B
  • +240°#34914F
  • Base#5D76CB
  • +150°#B4650F
  • +210°#738711

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-crayola-indigo: #5d76cb;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'crayola-indigo': '#5d76cb',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-crayola-indigo: oklch(0.586 0.133 269.6);
}

Design token (W3C DTCG)

{
  "color": {
    "crayola-indigo": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.3647, 0.4627, 0.7961],
        "hex": "#5d76cb"
      },
      "$description": "Crayola Indigo"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let crayolaIndigo = Color(.sRGB, red: 0.365, green: 0.463, blue: 0.796, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val CrayolaIndigo = Color(0xFF5D76CB)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #5D76CB in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.