#1E287A#1E287A

#1E287A is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.138 H 271.0°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#1E287A
RGBrgb(30, 40, 122)
HSLhsl(233, 61%, 30%)
HSVhsv(233, 75%, 48%)
CMYKcmyk(75.4%, 67.2%, 0%, 52.2%)
CIE-LABlab(20.82, 26.18, -47.83)
CIE-LCHlch(20.82, 54.53, 298.69°)
OKLaboklab(32.79% 0.0025 -0.1382)
OKLCHoklch(32.79% 0.138 271)
XYZxyz(4.8059, 3.1983, 18.7726)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E287A #7A701E
analogous
#1E567A #1E287A #421E7A
triadic
#1E287A #7A1E28 #287A1E
tetradic
#1E287A #7A1E56 #7A701E #1E7A42
square
#1E287A #7A1E56 #7A701E #1E7A42
split-complementary
#1E287A #7A421E #567A1E
monochromatic
#060819 #121849 #1E287A #2A38AB #4251D0

Accessibility & contrast

On white

12.81
#1E287A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#1E287A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E287A
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E287A#FFFFFF#000000##FFFFFF
##1E287A1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#002E78
Tritanopia (blue-blind)
#003E4D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #1e287a;
/* rgb */ color: rgb(30, 40, 122);
/* oklch */ color: oklch(32.8% 0.138 271.0);
Tailwind
colors: {
  custom: {
    50: '#6962a1',
    500: '#1e287a',
    950: '#000000',
  },
}
SCSS
$custom: #1e287a;
$custom-light: #6962a1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e287a",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 233.478,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32791,
    "c": 0.13826,
    "h": 271
  },
  "luminance": 0.03199
}

Semantic roles & 50–950 ramp

primary
#1E287A
secondary
#AEA246
accent
#D244E4
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#07050F
muted
#7A797F

Preview Lab

Preview with #1E287A

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

Preview Lab → · Contrast checker → · Palette generator →

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