#1E2F4E#1E2F4E

#1E2F4E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 30.7% C 0.061 H 261.7°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#1E2F4E
RGBrgb(30, 47, 78)
HSLhsl(219, 44%, 21%)
HSVhsv(219, 62%, 31%)
CMYKcmyk(61.5%, 39.7%, 0%, 69.4%)
CIE-LABlab(19.47, 3.83, -21.21)
CIE-LCHlch(19.47, 21.55, 280.23°)
OKLaboklab(30.69% -0.0088 -0.06)
OKLCHoklch(30.69% 0.061 261.7)
XYZxyz(2.9266, 2.8589, 7.6038)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F4E #4E3D1E
analogous
#1E474E #1E2F4E #251E4E
triadic
#1E2F4E #4E1E2F #2F4E1E
tetradic
#1E2F4E #4E1E47 #4E3D1E #1E4E25
square
#1E2F4E #4E1E47 #4E3D1E #1E4E25
split-complementary
#1E2F4E #4E251E #474E1E
monochromatic
#090D16 #0D1422 #1E2F4E #2F4A7A #4064A6

Accessibility & contrast

On white

13.36
#1E2F4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#1E2F4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F4E
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F4E#FFFFFF#000000##FFFFFF
##1E2F4E1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22324F
Deuteranopia (green-blind)
#1C2D4D
Tritanopia (blue-blind)
#02363A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e2f4e;
/* rgb */ color: rgb(30, 47, 78);
/* oklch */ color: oklch(30.7% 0.061 261.7);
Tailwind
colors: {
  custom: {
    50: '#5e677f',
    500: '#1e2f4e',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f4e;
$custom-light: #5e677f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f4e",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 78
  },
  "hsl": {
    "h": 218.75,
    "s": 44.444,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30694,
    "c": 0.06062,
    "h": 261.7
  },
  "luminance": 0.02859
}

Semantic roles & 50–950 ramp

primary
#1E2F4E
secondary
#836D45
accent
#A754D4
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#05060A
muted
#797A7C

Preview Lab

Preview with #1E2F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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