#1E2F4D#1E2F4D

#1E2F4D is a dark, muted blue. Relative luminance 0.028; OKLCH L 30.6% C 0.059 H 261.1°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#1E2F4D
RGBrgb(30, 47, 77)
HSLhsl(218, 44%, 21%)
HSVhsv(218, 61%, 30%)
CMYKcmyk(61%, 39%, 0%, 69.8%)
CIE-LABlab(19.41, 3.45, -20.63)
CIE-LCHlch(19.41, 20.91, 279.48°)
OKLaboklab(30.63% -0.0091 -0.0583)
OKLCHoklch(30.63% 0.059 261.1)
XYZxyz(2.8910, 2.8446, 7.4165)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F4D #4D3C1E
analogous
#1E464D #1E2F4D #241E4D
triadic
#1E2F4D #4D1E2F #2F4D1E
tetradic
#1E2F4D #4D1E46 #4D3C1E #1E4D24
square
#1E2F4D #4D1E46 #4D3C1E #1E4D24
split-complementary
#1E2F4D #4D241E #464D1E
monochromatic
#090D16 #0D1421 #1E2F4D #2F4A79 #4065A5

Accessibility & contrast

On white

13.38
#1E2F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #1E2F4D
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F4D#FFFFFF#000000##FFFFFF
##1E2F4D1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23314E
Deuteranopia (green-blind)
#1D2D4C
Tritanopia (blue-blind)
#03363A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #1e2f4d;
/* rgb */ color: rgb(30, 47, 77);
/* oklch */ color: oklch(30.6% 0.059 261.1);
Tailwind
colors: {
  custom: {
    50: '#5e677f',
    500: '#1e2f4d',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f4d;
$custom-light: #5e677f;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f4d",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 77
  },
  "hsl": {
    "h": 218.298,
    "s": 43.925,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30629,
    "c": 0.05899,
    "h": 261.1
  },
  "luminance": 0.02845
}

Semantic roles & 50–950 ramp

primary
#1E2F4D
secondary
#826C45
accent
#A654D4
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #1E2F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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