#1E2F76#1E2F76

#1E2F76 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.8% C 0.123 H 268.7°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#1E2F76
RGBrgb(30, 47, 118)
HSLhsl(228, 59%, 29%)
HSVhsv(228, 75%, 46%)
CMYKcmyk(74.6%, 60.2%, 0%, 53.7%)
CIE-LABlab(22.36, 19.73, -42.77)
CIE-LCHlch(22.36, 47.10, 294.77°)
OKLaboklab(33.82% -0.0029 -0.1233)
OKLCHoklch(33.82% 0.123 268.7)
XYZxyz(4.8208, 3.6166, 17.5800)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F76 #76651E
analogous
#1E5B76 #1E2F76 #391E76
triadic
#1E2F76 #761E2F #2F761E
tetradic
#1E2F76 #761E5B #76651E #1E7639
square
#1E2F76 #761E5B #76651E #1E7639
split-complementary
#1E2F76 #76391E #5B761E
monochromatic
#060A18 #121C45 #1E2F76 #2A42A7 #405BCE

Accessibility & contrast

On white

12.19
#1E2F76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#1E2F76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F76
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F76#FFFFFF#000000##FFFFFF
##1E2F761.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #1e2f76;
/* rgb */ color: rgb(30, 47, 118);
/* oklch */ color: oklch(33.8% 0.123 268.7);
Tailwind
colors: {
  custom: {
    50: '#67679e',
    500: '#1e2f76',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f76;
$custom-light: #67679e;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f76",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 118
  },
  "hsl": {
    "h": 228.409,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3382,
    "c": 0.12333,
    "h": 268.7
  },
  "luminance": 0.03617
}

Semantic roles & 50–950 ramp

primary
#1E2F76
secondary
#AA9746
accent
#C445E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1E2F76

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

Preview Lab → · Contrast checker → · Palette generator →

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