#151E4F#151E4F

#151E4F is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.0% C 0.090 H 270.9°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#151E4F
RGBrgb(21, 30, 79)
HSLhsl(231, 58%, 20%)
HSVhsv(231, 73%, 31%)
CMYKcmyk(73.4%, 62%, 0%, 69%)
CIE-LABlab(13.55, 14.80, -31.40)
CIE-LCHlch(13.55, 34.72, 295.24°)
OKLaboklab(26.04% 0.0014 -0.0904)
OKLCHoklch(26.04% 0.09 270.9)
XYZxyz(2.1843, 1.6523, 7.5994)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E4F #4F4615
analogous
#153B4F #151E4F #29154F
triadic
#151E4F #4F151E #1E4F15
tetradic
#151E4F #4F153B #4F4615 #154F29
square
#151E4F #4F153B #4F4615 #154F29
split-complementary
#151E4F #4F2915 #3B4F15
monochromatic
#060918 #080C1F #151E4F #22307F #2F43B0

Accessibility & contrast

On white

15.78
#151E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#151E4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E4F
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E4F#FFFFFF#000000##FFFFFF
##151E4F1.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#00204E
Tritanopia (blue-blind)
#002A33
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #151e4f;
/* rgb */ color: rgb(21, 30, 79);
/* oklch */ color: oklch(26.0% 0.090 270.9);
Tailwind
colors: {
  custom: {
    50: '#5b5981',
    500: '#151e4f',
    950: '#000000',
  },
}
SCSS
$custom: #151e4f;
$custom-light: #5b5981;
$custom-dark: #000000;
JSON
{
  "hex": "#151e4f",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 79
  },
  "hsl": {
    "h": 230.69,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26039,
    "c": 0.09039,
    "h": 270.9
  },
  "luminance": 0.01652
}

Semantic roles & 50–950 ramp

primary
#151E4F
secondary
#877B39
accent
#C947E1
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04030A
muted
#79787C

Preview Lab

Preview with #151E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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