#1E288B#1E288B

#1E288B is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.161 H 270.3°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#1E288B
RGBrgb(30, 40, 139)
HSLhsl(234, 64%, 33%)
HSVhsv(234, 78%, 55%)
CMYKcmyk(78.4%, 71.2%, 0%, 45.5%)
CIE-LABlab(22.50, 32.60, -55.78)
CIE-LCHlch(22.50, 64.61, 300.30°)
OKLaboklab(34.53% 0.0009 -0.1615)
OKLCHoklch(34.53% 0.161 270.3)
XYZxyz(5.9528, 3.6570, 24.8132)
Luminance0.0366 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E288B #8B811E
analogous
#1E5F8B #1E288B #4A1E8B
triadic
#1E288B #8B1E28 #288B1E
tetradic
#1E288B #8B1E5F #8B811E #1E8B4A
square
#1E288B #8B1E5F #8B811E #1E8B4A
split-complementary
#1E288B #8B4A1E #5F8B1E
monochromatic
#080B26 #131A59 #1E288B #2936BD #4B58D8

Accessibility & contrast

On white

12.13
#1E288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#1E288B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E288B
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E288B#FFFFFF#000000##FFFFFF
##1E288B1.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003189
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e288b;
/* rgb */ color: rgb(30, 40, 139);
/* oklch */ color: oklch(34.5% 0.161 270.3);
Tailwind
colors: {
  custom: {
    50: '#6d62ae',
    500: '#1e288b',
    950: '#000000',
  },
}
SCSS
$custom: #1e288b;
$custom-light: #6d62ae;
$custom-dark: #000000;
JSON
{
  "hex": "#1e288b",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 234.495,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34527,
    "c": 0.16147,
    "h": 270.3
  },
  "luminance": 0.03658
}

Semantic roles & 50–950 ramp

primary
#1E288B
secondary
#BBB04A
accent
#D840E7
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #1E288B

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

Preview Lab → · Contrast checker → · Palette generator →

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