#1E237D#1E237D

#1E237D is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.148 H 272.1°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#1E237D
RGBrgb(30, 35, 125)
HSLhsl(237, 61%, 30%)
HSVhsv(237, 76%, 49%)
CMYKcmyk(76%, 72%, 0%, 51%)
CIE-LABlab(19.88, 30.65, -51.29)
CIE-LCHlch(19.88, 59.75, 300.86°)
OKLaboklab(32.2% 0.0054 -0.1484)
OKLCHoklch(32.2% 0.148 272.1)
XYZxyz(4.8369, 2.9583, 19.7141)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E237D #7D781E
analogous
#1E527D #1E237D #481E7D
triadic
#1E237D #7D1E23 #237D1E
tetradic
#1E237D #7D1E52 #7D781E #1E7D48
square
#1E237D #7D1E52 #7D781E #1E7D48
split-complementary
#1E237D #7D481E #527D1E
monochromatic
#06071A #12154C #1E237D #2A31AE #434BD2

Accessibility & contrast

On white

13.19
#1E237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#1E237D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E237D
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E237D#FFFFFF#000000##FFFFFF
##1E237D1.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#002B7B
Tritanopia (blue-blind)
#003C4D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e237d;
/* rgb */ color: rgb(30, 35, 125);
/* oklch */ color: oklch(32.2% 0.148 272.1);
Tailwind
colors: {
  custom: {
    50: '#6a5ea4',
    500: '#1e237d',
    950: '#000000',
  },
}
SCSS
$custom: #1e237d;
$custom-light: #6a5ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e237d",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 236.842,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32195,
    "c": 0.14847,
    "h": 272.1
  },
  "luminance": 0.02959
}

Semantic roles & 50–950 ramp

primary
#1E237D
secondary
#B0AB46
accent
#DC43E4
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#07040F
muted
#7A797F

Preview Lab

Preview with #1E237D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#1E237D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva