#1E286E#1E286E

#1E286E is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.6% C 0.121 H 271.4°. Best body text is #FFFFFF at 13.26:1 contrast (WCAG AA passes).

Color values

HEX#1E286E
RGBrgb(30, 40, 110)
HSLhsl(233, 57%, 27%)
HSVhsv(233, 73%, 43%)
CMYKcmyk(72.7%, 63.6%, 0%, 56.9%)
CIE-LABlab(19.72, 21.51, -41.93)
CIE-LCHlch(19.72, 47.13, 297.16°)
OKLaboklab(31.64% 0.003 -0.1209)
OKLCHoklch(31.64% 0.121 271.4)
XYZxyz(4.1077, 2.9190, 15.0958)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E286E #6E641E
analogous
#1E506E #1E286E #3C1E6E
triadic
#1E286E #6E1E28 #286E1E
tetradic
#1E286E #6E1E50 #6E641E #1E6E3C
square
#1E286E #6E1E50 #6E641E #1E6E3C
split-complementary
#1E286E #6E3C1E #506E1E
monochromatic
#070918 #11173E #1E286E #2B399E #3C4ECA

Accessibility & contrast

On white

13.26
#1E286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E286E
13.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E286E#FFFFFF#000000##FFFFFF
##1E286E1.0013.261.5813.26
#FFFFFF13.261.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003370
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#003A46
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #1e286e;
/* rgb */ color: rgb(30, 40, 110);
/* oklch */ color: oklch(31.6% 0.121 271.4);
Tailwind
colors: {
  custom: {
    50: '#666198',
    500: '#1e286e',
    950: '#000000',
  },
}
SCSS
$custom: #1e286e;
$custom-light: #666198;
$custom-dark: #000000;
JSON
{
  "hex": "#1e286e",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 232.5,
    "s": 57.143,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31636,
    "c": 0.12099,
    "h": 271.4
  },
  "luminance": 0.02919
}

Semantic roles & 50–950 ramp

primary
#1E286E
secondary
#A29746
accent
#CD47E0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #1E286E

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

Preview Lab → · Contrast checker → · Palette generator →

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