#1E3F8A#1E3F8A

#1E3F8A is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.131 H 263.6°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#1E3F8A
RGBrgb(30, 63, 138)
HSLhsl(222, 64%, 33%)
HSVhsv(222, 78%, 54%)
CMYKcmyk(78.3%, 54.3%, 0%, 45.9%)
CIE-LABlab(28.55, 16.53, -45.28)
CIE-LCHlch(28.55, 48.20, 290.06°)
OKLaboklab(38.99% -0.0147 -0.1304)
OKLCHoklch(38.99% 0.131 263.6)
XYZxyz(6.8987, 5.6652, 24.7697)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E3F8A #8A691E
analogous
#1E758A #1E3F8A #331E8A
triadic
#1E3F8A #8A1E3F #3F8A1E
tetradic
#1E3F8A #8A1E75 #8A691E #1E8A33
square
#1E3F8A #8A1E75 #8A691E #1E8A33
split-complementary
#1E3F8A #8A331E #758A1E
monochromatic
#081125 #132858 #1E3F8A #2956BC #4B76D8

Accessibility & contrast

On white

9.84
#1E3F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#1E3F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E3F8A
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E3F8A#FFFFFF#000000##FFFFFF
##1E3F8A1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07498D
Deuteranopia (green-blind)
#003F89
Tritanopia (blue-blind)
#00515E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #1e3f8a;
/* rgb */ color: rgb(30, 63, 138);
/* oklch */ color: oklch(39.0% 0.131 263.6);
Tailwind
colors: {
  custom: {
    50: '#6b73ad',
    500: '#1e3f8a',
    950: '#000000',
  },
}
SCSS
$custom: #1e3f8a;
$custom-light: #6b73ad;
$custom-dark: #000000;
JSON
{
  "hex": "#1e3f8a",
  "rgb": {
    "r": 30,
    "g": 63,
    "b": 138
  },
  "hsl": {
    "h": 221.667,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.38988,
    "c": 0.13124,
    "h": 263.6
  },
  "luminance": 0.05666
}

Semantic roles & 50–950 ramp

primary
#1E3F8A
secondary
#BA984A
accent
#B441E7
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #1E3F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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