#151E3F#151E3F

#151E3F is a very dark, moderate blue. Relative luminance 0.014; OKLCH L 24.7% C 0.064 H 269.8°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#151E3F
RGBrgb(21, 30, 63)
HSLhsl(227, 50%, 16%)
HSVhsv(227, 67%, 25%)
CMYKcmyk(66.7%, 52.4%, 0%, 75.3%)
CIE-LABlab(12.27, 8.16, -22.37)
CIE-LCHlch(12.27, 23.81, 290.05°)
OKLaboklab(24.66% -0.0003 -0.0638)
OKLCHoklch(24.66% 0.064 269.8)
XYZxyz(1.6704, 1.4467, 4.8929)
Luminance0.0145 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E3F #3F3615
analogous
#15333F #151E3F #21153F
triadic
#151E3F #3F151E #1E3F15
tetradic
#151E3F #3F1533 #3F3615 #153F21
square
#151E3F #3F1533 #3F3615 #153F21
split-complementary
#151E3F #3F2115 #333F15
monochromatic
#080B17 #080B17 #151E3F #24346D #344A9B

Accessibility & contrast

On white

16.29
#151E3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#151E3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E3F
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E3F#FFFFFF#000000##FFFFFF
##151E3F1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2240
Deuteranopia (green-blind)
#091E3E
Tritanopia (blue-blind)
#00252B
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #151e3f;
/* rgb */ color: rgb(21, 30, 63);
/* oklch */ color: oklch(24.7% 0.064 269.8);
Tailwind
colors: {
  custom: {
    50: '#575974',
    500: '#151e3f',
    950: '#000000',
  },
}
SCSS
$custom: #151e3f;
$custom-light: #575974;
$custom-dark: #000000;
JSON
{
  "hex": "#151e3f",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 63
  },
  "hsl": {
    "h": 227.143,
    "s": 50,
    "l": 16.471
  },
  "oklch": {
    "l": 0.24664,
    "c": 0.06381,
    "h": 269.8
  },
  "luminance": 0.01447
}

Semantic roles & 50–950 ramp

primary
#151E3F
secondary
#776939
accent
#BC4EDA
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030308
muted
#78787B

Preview Lab

Preview with #151E3F

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

Preview Lab → · Contrast checker → · Palette generator →

#151E3F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva