#1E286D#1E286D

#1E286D is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.5% C 0.120 H 271.4°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#1E286D
RGBrgb(30, 40, 109)
HSLhsl(232, 57%, 27%)
HSVhsv(232, 72%, 43%)
CMYKcmyk(72.5%, 63.3%, 0%, 57.3%)
CIE-LABlab(19.63, 21.12, -41.43)
CIE-LCHlch(19.63, 46.50, 297.01°)
OKLaboklab(31.54% 0.003 -0.1195)
OKLCHoklch(31.54% 0.12 271.4)
XYZxyz(4.0536, 2.8973, 14.8106)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E286D #6D631E
analogous
#1E506D #1E286D #3C1E6D
triadic
#1E286D #6D1E28 #286D1E
tetradic
#1E286D #6D1E50 #6D631E #1E6D3C
square
#1E286D #6D1E50 #6D631E #1E6D3C
split-complementary
#1E286D #6D3C1E #506D1E
monochromatic
#070918 #11163D #1E286D #2B3A9D #3C4EC9

Accessibility & contrast

On white

13.29
#1E286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#1E286D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E286D
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E286D#FFFFFF#000000##FFFFFF
##1E286D1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#002C6C
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e286d;
/* rgb */ color: rgb(30, 40, 109);
/* oklch */ color: oklch(31.5% 0.120 271.4);
Tailwind
colors: {
  custom: {
    50: '#656197',
    500: '#1e286d',
    950: '#000000',
  },
}
SCSS
$custom: #1e286d;
$custom-light: #656197;
$custom-dark: #000000;
JSON
{
  "hex": "#1e286d",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 232.405,
    "s": 56.835,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31543,
    "c": 0.11951,
    "h": 271.4
  },
  "luminance": 0.02898
}

Semantic roles & 50–950 ramp

primary
#1E286D
secondary
#A19645
accent
#CD48E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1E286D

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

Preview Lab → · Contrast checker → · Palette generator →

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