#1E287D#1E287D

#1E287D is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.142 H 270.9°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#1E287D
RGBrgb(30, 40, 125)
HSLhsl(234, 61%, 30%)
HSVhsv(234, 76%, 49%)
CMYKcmyk(76%, 68%, 0%, 51%)
CIE-LABlab(21.11, 27.33, -49.27)
CIE-LCHlch(21.11, 56.34, 299.02°)
OKLaboklab(33.09% 0.0022 -0.1424)
OKLCHoklch(33.09% 0.142 270.9)
XYZxyz(4.9946, 3.2738, 19.7667)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E287D #7D731E
analogous
#1E577D #1E287D #431E7D
triadic
#1E287D #7D1E28 #287D1E
tetradic
#1E287D #7D1E57 #7D731E #1E7D43
square
#1E287D #7D1E57 #7D731E #1E7D43
split-complementary
#1E287D #7D431E #577D1E
monochromatic
#06081A #12184C #1E287D #2A38AE #4352D2

Accessibility & contrast

On white

12.69
#1E287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#1E287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E287D
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E287D#FFFFFF#000000##FFFFFF
##1E287D1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e287d;
/* rgb */ color: rgb(30, 40, 125);
/* oklch */ color: oklch(33.1% 0.142 270.9);
Tailwind
colors: {
  custom: {
    50: '#6a62a4',
    500: '#1e287d',
    950: '#000000',
  },
}
SCSS
$custom: #1e287d;
$custom-light: #6a62a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e287d",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 233.684,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.3309,
    "c": 0.14246,
    "h": 270.9
  },
  "luminance": 0.03274
}

Semantic roles & 50–950 ramp

primary
#1E287D
secondary
#B0A546
accent
#D343E4
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E287D

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

Preview Lab → · Contrast checker → · Palette generator →

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