#1E286B#1E286B

#1E286B is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.4% C 0.117 H 271.5°. Best body text is #FFFFFF at 13.37:1 contrast (WCAG AA passes).

Color values

HEX#1E286B
RGBrgb(30, 40, 107)
HSLhsl(232, 56%, 27%)
HSVhsv(232, 72%, 42%)
CMYKcmyk(72%, 62.6%, 0%, 58%)
CIE-LABlab(19.45, 20.34, -40.42)
CIE-LCHlch(19.45, 45.24, 296.71°)
OKLaboklab(31.36% 0.003 -0.1165)
OKLCHoklch(31.36% 0.117 271.5)
XYZxyz(3.9472, 2.8548, 14.2501)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E286B #6B611E
analogous
#1E4F6B #1E286B #3B1E6B
triadic
#1E286B #6B1E28 #286B1E
tetradic
#1E286B #6B1E4F #6B611E #1E6B3B
square
#1E286B #6B1E4F #6B611E #1E6B3B
split-complementary
#1E286B #6B3B1E #4F6B1E
monochromatic
#070918 #11163B #1E286B #2B3A9B #3B4EC8

Accessibility & contrast

On white

13.37
#1E286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1E286B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E286B
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E286B#FFFFFF#000000##FFFFFF
##1E286B1.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336D
Deuteranopia (green-blind)
#002C6A
Tritanopia (blue-blind)
#003945
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e286b;
/* rgb */ color: rgb(30, 40, 107);
/* oklch */ color: oklch(31.4% 0.117 271.5);
Tailwind
colors: {
  custom: {
    50: '#656196',
    500: '#1e286b',
    950: '#000000',
  },
}
SCSS
$custom: #1e286b;
$custom-light: #656196;
$custom-dark: #000000;
JSON
{
  "hex": "#1e286b",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 232.208,
    "s": 56.204,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31358,
    "c": 0.11654,
    "h": 271.5
  },
  "luminance": 0.02855
}

Semantic roles & 50–950 ramp

primary
#1E286B
secondary
#9F9445
accent
#CC48DF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #1E286B

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

Preview Lab → · Contrast checker → · Palette generator →

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