#1E287F#1E287F

#1E287F is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.145 H 270.8°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#1E287F
RGBrgb(30, 40, 127)
HSLhsl(234, 62%, 31%)
HSVhsv(234, 76%, 50%)
CMYKcmyk(76.4%, 68.5%, 0%, 50.2%)
CIE-LABlab(21.30, 28.09, -50.21)
CIE-LCHlch(21.30, 57.54, 299.23°)
OKLaboklab(33.29% 0.0021 -0.1452)
OKLCHoklch(33.29% 0.145 270.8)
XYZxyz(5.1237, 3.3254, 20.4464)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E287F #7F751E
analogous
#1E587F #1E287F #441E7F
triadic
#1E287F #7F1E28 #287F1E
tetradic
#1E287F #7F1E58 #7F751E #1E7F44
square
#1E287F #7F1E58 #7F751E #1E7F44
split-complementary
#1E287F #7F441E #587F1E
monochromatic
#07091C #12184D #1E287F #2A38B1 #4453D3

Accessibility & contrast

On white

12.61
#1E287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#1E287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E287F
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E287F#FFFFFF#000000##FFFFFF
##1E287F1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#002F7D
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #1e287f;
/* rgb */ color: rgb(30, 40, 127);
/* oklch */ color: oklch(33.3% 0.145 270.8);
Tailwind
colors: {
  custom: {
    50: '#6a62a5',
    500: '#1e287f',
    950: '#000000',
  },
}
SCSS
$custom: #1e287f;
$custom-light: #6a62a5;
$custom-dark: #000000;
JSON
{
  "hex": "#1e287f",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 233.814,
    "s": 61.783,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33291,
    "c": 0.14523,
    "h": 270.8
  },
  "luminance": 0.03326
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #1E287F

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

Preview Lab → · Contrast checker → · Palette generator →

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