#1E2F5D#1E2F5D

#1E2F5D is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.085 H 266.4°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#1E2F5D
RGBrgb(30, 47, 93)
HSLhsl(224, 51%, 24%)
HSVhsv(224, 68%, 36%)
CMYKcmyk(67.7%, 49.5%, 0%, 63.5%)
CIE-LABlab(20.44, 9.72, -29.66)
CIE-LCHlch(20.44, 31.21, 288.14°)
OKLaboklab(31.75% -0.0053 -0.0848)
OKLCHoklch(31.75% 0.085 266.4)
XYZxyz(3.5270, 3.0990, 10.7661)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E2F5D #5D4C1E
analogous
#1E4F5D #1E2F5D #2D1E5D
triadic
#1E2F5D #5D1E2F #2F5D1E
tetradic
#1E2F5D #5D1E4F #5D4C1E #1E5D2D
square
#1E2F5D #5D1E4F #5D4C1E #1E5D2D
split-complementary
#1E2F5D #5D2D1E #4F5D1E
monochromatic
#070C17 #0F182F #1E2F5D #2D468B #3C5EBA

Accessibility & contrast

On white

12.96
#1E2F5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#1E2F5D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E2F5D
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E2F5D#FFFFFF#000000##FFFFFF
##1E2F5D1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19345F
Deuteranopia (green-blind)
#0E2F5C
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #1e2f5d;
/* rgb */ color: rgb(30, 47, 93);
/* oklch */ color: oklch(31.8% 0.085 266.4);
Tailwind
colors: {
  custom: {
    50: '#61678b',
    500: '#1e2f5d',
    950: '#000000',
  },
}
SCSS
$custom: #1e2f5d;
$custom-light: #61678b;
$custom-dark: #000000;
JSON
{
  "hex": "#1e2f5d",
  "rgb": {
    "r": 30,
    "g": 47,
    "b": 93
  },
  "hsl": {
    "h": 223.81,
    "s": 51.22,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31753,
    "c": 0.08493,
    "h": 266.4
  },
  "luminance": 0.03099
}

Semantic roles & 50–950 ramp

primary
#1E2F5D
secondary
#927D45
accent
#B44DDB
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#05060C
muted
#7A7A7D

Preview Lab

Preview with #1E2F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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