#1E237E#1E237E

#1E237E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.150 H 272.0°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#1E237E
RGBrgb(30, 35, 126)
HSLhsl(237, 62%, 31%)
HSVhsv(237, 76%, 49%)
CMYKcmyk(76.2%, 72.2%, 0%, 50.6%)
CIE-LABlab(19.98, 31.02, -51.76)
CIE-LCHlch(19.98, 60.34, 300.94°)
OKLaboklab(32.3% 0.0053 -0.1497)
OKLCHoklch(32.3% 0.15 272)
XYZxyz(4.9011, 2.9839, 20.0523)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E237E #7E791E
analogous
#1E537E #1E237E #491E7E
triadic
#1E237E #7E1E23 #237E1E
tetradic
#1E237E #7E1E53 #7E791E #1E7E49
square
#1E237E #7E1E53 #7E791E #1E7E49
split-complementary
#1E237E #7E491E #537E1E
monochromatic
#06081B #12154D #1E237E #2A31AF #444BD2

Accessibility & contrast

On white

13.15
#1E237E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#1E237E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E237E
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E237E#FFFFFF#000000##FFFFFF
##1E237E1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #1e237e;
/* rgb */ color: rgb(30, 35, 126);
/* oklch */ color: oklch(32.3% 0.150 272.0);
Tailwind
colors: {
  custom: {
    50: '#6a5ea4',
    500: '#1e237e',
    950: '#000000',
  },
}
SCSS
$custom: #1e237e;
$custom-light: #6a5ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e237e",
  "rgb": {
    "r": 30,
    "g": 35,
    "b": 126
  },
  "hsl": {
    "h": 236.875,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.32301,
    "c": 0.14982,
    "h": 272
  },
  "luminance": 0.02984
}

Semantic roles & 50–950 ramp

primary
#1E237E
secondary
#B1AC47
accent
#DC43E5
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#08040F
muted
#7A797F

Preview Lab

Preview with #1E237E

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

Preview Lab → · Contrast checker → · Palette generator →

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