#1E288F#1E288F

#1E288F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.167 H 270.1°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#1E288F
RGBrgb(30, 40, 143)
HSLhsl(235, 65%, 34%)
HSVhsv(235, 79%, 56%)
CMYKcmyk(79%, 72%, 0%, 43.9%)
CIE-LABlab(22.92, 34.07, -57.58)
CIE-LCHlch(22.92, 66.91, 300.61°)
OKLaboklab(34.95% 0.0004 -0.1667)
OKLCHoklch(34.95% 0.167 270.1)
XYZxyz(6.2504, 3.7761, 26.3807)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E288F #8F851E
analogous
#1E618F #1E288F #4D1E8F
triadic
#1E288F #8F1E28 #288F1E
tetradic
#1E288F #8F1E61 #8F851E #1E8F4D
square
#1E288F #8F1E61 #8F851E #1E8F4D
split-complementary
#1E288F #8F4D1E #618F1E
monochromatic
#090C2A #131A5C #1E288F #2936C2 #4E5ADA

Accessibility & contrast

On white

11.96
#1E288F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#1E288F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E288F
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E288F#FFFFFF#000000##FFFFFF
##1E288F1.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00318D
Tritanopia (blue-blind)
#004558
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #1e288f;
/* rgb */ color: rgb(30, 40, 143);
/* oklch */ color: oklch(34.9% 0.167 270.1);
Tailwind
colors: {
  custom: {
    50: '#6e62b1',
    500: '#1e288f',
    950: '#000000',
  },
}
SCSS
$custom: #1e288f;
$custom-light: #6e62b1;
$custom-dark: #000000;
JSON
{
  "hex": "#1e288f",
  "rgb": {
    "r": 30,
    "g": 40,
    "b": 143
  },
  "hsl": {
    "h": 234.69,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.3495,
    "c": 0.16673,
    "h": 270.1
  },
  "luminance": 0.03777
}

Semantic roles & 50–950 ramp

primary
#1E288F
secondary
#BCB34C
accent
#D940E8
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #1E288F

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

Preview Lab → · Contrast checker → · Palette generator →

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