#1E3E8A#1E3E8A

#1E3E8A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 38.8% C 0.133 H 264.0°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#1E3E8A
RGBrgb(30, 62, 138)
HSLhsl(222, 64%, 33%)
HSVhsv(222, 78%, 54%)
CMYKcmyk(78.3%, 55.1%, 0%, 45.9%)
CIE-LABlab(28.26, 17.23, -45.75)
CIE-LCHlch(28.26, 48.88, 290.64°)
OKLaboklab(38.77% -0.0139 -0.1318)
OKLCHoklch(38.77% 0.133 264)
XYZxyz(6.8439, 5.5555, 24.7514)
Luminance0.0556 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3E8A #8A6A1E
analogous
#1E748A #1E3E8A #341E8A
triadic
#1E3E8A #8A1E3E #3E8A1E
tetradic
#1E3E8A #8A1E74 #8A6A1E #1E8A34
square
#1E3E8A #8A1E74 #8A6A1E #1E8A34
split-complementary
#1E3E8A #8A341E #748A1E
monochromatic
#081125 #132758 #1E3E8A #2955BC #4B74D8

Accessibility & contrast

On white

9.95
#1E3E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#1E3E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3E8A
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3E8A#FFFFFF#000000##FFFFFF
##1E3E8A1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02488D
Deuteranopia (green-blind)
#003E88
Tritanopia (blue-blind)
#00515D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1e3e8a;
/* rgb */ color: rgb(30, 62, 138);
/* oklch */ color: oklch(38.8% 0.133 264.0);
Tailwind
colors: {
  custom: {
    50: '#6b72ad',
    500: '#1e3e8a',
    950: '#000000',
  },
}
SCSS
$custom: #1e3e8a;
$custom-light: #6b72ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3e8a",
  "rgb": {
    "r": 30,
    "g": 62,
    "b": 138
  },
  "hsl": {
    "h": 222.222,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38768,
    "c": 0.13255,
    "h": 264
  },
  "luminance": 0.05556
}

Semantic roles & 50–950 ramp

primary
#1E3E8A
secondary
#BA994A
accent
#B641E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1E3E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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