#1E287E#1E287E

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

Color values

HEX#1E287E
RGBrgb(30, 40, 126)
HSLhsl(234, 62%, 31%)
HSVhsv(234, 76%, 49%)
CMYKcmyk(76.2%, 68.3%, 0%, 50.6%)
CIE-LABlab(21.21, 27.71, -49.74)
CIE-LCHlch(21.21, 56.94, 299.12°)
OKLaboklab(33.19% 0.0022 -0.1438)
OKLCHoklch(33.19% 0.144 270.9)
XYZxyz(5.0588, 3.2994, 20.1049)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E287E #7E741E
analogous
#1E587E #1E287E #441E7E
triadic
#1E287E #7E1E28 #287E1E
tetradic
#1E287E #7E1E58 #7E741E #1E7E44
square
#1E287E #7E1E58 #7E741E #1E7E44
split-complementary
#1E287E #7E441E #587E1E
monochromatic
#06091B #12184D #1E287E #2A38AF #4453D2

Accessibility & contrast

On white

12.65
#1E287E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#1E287E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E287E
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E287E#FFFFFF#000000##FFFFFF
##1E287E1.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#002E7C
Tritanopia (blue-blind)
#003F4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e287e;
/* rgb */ color: rgb(30, 40, 126);
/* oklch */ color: oklch(33.2% 0.144 270.9);
Tailwind
colors: {
  custom: {
    50: '#6a62a4',
    500: '#1e287e',
    950: '#000000',
  },
}
SCSS
$custom: #1e287e;
$custom-light: #6a62a4;
$custom-dark: #000000;
JSON
{
  "hex": "#1e287e",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 126
  },
  "hsl": {
    "h": 233.75,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3319,
    "c": 0.14385,
    "h": 270.9
  },
  "luminance": 0.033
}

Semantic roles & 50–950 ramp

primary
#1E287E
secondary
#B1A647
accent
#D443E5
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E287E

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

Preview Lab → · Contrast checker → · Palette generator →

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