#1E2F77#1E2F77

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

Color values

HEX#1E2F77
RGBrgb(30, 47, 119)
HSLhsl(229, 60%, 29%)
HSVhsv(229, 75%, 47%)
CMYKcmyk(74.8%, 60.5%, 0%, 53.3%)
CIE-LABlab(22.45, 20.13, -43.27)
CIE-LCHlch(22.45, 47.72, 294.95°)
OKLaboklab(33.91% -0.0029 -0.1248)
OKLCHoklch(33.91% 0.125 268.7)
XYZxyz(4.8806, 3.6405, 17.8947)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F77 #77661E
analogous
#1E5C77 #1E2F77 #3A1E77
triadic
#1E2F77 #771E2F #2F771E
tetradic
#1E2F77 #771E5C #77661E #1E773A
square
#1E2F77 #771E5C #77661E #1E773A
split-complementary
#1E2F77 #773A1E #5C771E
monochromatic
#060A18 #121C46 #1E2F77 #2A42A8 #405CCF

Accessibility & contrast

On white

12.15
#1E2F77 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2F77
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F77#FFFFFF#000000##FFFFFF
##1E2F771.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A79
Deuteranopia (green-blind)
#003276
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #1e2f77;
/* rgb */ color: rgb(30, 47, 119);
/* oklch */ color: oklch(33.9% 0.125 268.7);
Tailwind
colors: {
  custom: {
    50: '#67679f',
    500: '#1e2f77',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f77;
$custom-light: #67679f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f77",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 119
  },
  "hsl": {
    "h": 228.539,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33909,
    "c": 0.1248,
    "h": 268.7
  },
  "luminance": 0.03641
}

Semantic roles & 50–950 ramp

primary
#1E2F77
secondary
#AB9846
accent
#C545E3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #1E2F77

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

Preview Lab → · Contrast checker → · Palette generator →

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