#151E60#151E60

#151E60 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.7% C 0.116 H 270.6°. Best body text is #FFFFFF at 15.14:1 contrast (WCAG AA passes).

Color values

HEX#151E60
RGBrgb(21, 30, 96)
HSLhsl(233, 64%, 23%)
HSVhsv(233, 78%, 38%)
CMYKcmyk(78.1%, 68.7%, 0%, 62.4%)
CIE-LABlab(15.13, 21.78, -40.28)
CIE-LCHlch(15.13, 45.79, 298.41°)
OKLaboklab(27.7% 0.0012 -0.1164)
OKLCHoklch(27.7% 0.116 270.6)
XYZxyz(2.8841, 1.9322, 11.2850)
Luminance0.0193 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E60 #605715
analogous
#154360 #151E60 #311560
triadic
#151E60 #60151E #1E6015
tetradic
#151E60 #601543 #605715 #156031
square
#151E60 #601543 #605715 #156031
split-complementary
#151E60 #603115 #436015
monochromatic
#050819 #0A0E2E #151E60 #202E92 #2B3DC4

Accessibility & contrast

On white

15.14
#151E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#151E60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E60
15.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E60#FFFFFF#000000##FFFFFF
##151E601.0015.141.3915.14
#FFFFFF15.141.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#00225F
Tritanopia (blue-blind)
#002F3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #151e60;
/* rgb */ color: rgb(21, 30, 96);
/* oklch */ color: oklch(27.7% 0.116 270.6);
Tailwind
colors: {
  custom: {
    50: '#5f598e',
    500: '#151e60',
    950: '#000000',
  },
}
SCSS
$custom: #151e60;
$custom-light: #5f598e;
$custom-dark: #000000;
JSON
{
  "hex": "#151e60",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 96
  },
  "hsl": {
    "h": 232.8,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27703,
    "c": 0.11643,
    "h": 270.6
  },
  "luminance": 0.01933
}

Semantic roles & 50–950 ramp

primary
#151E60
secondary
#978C3A
accent
#D341E7
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05030C
muted
#7A787D

Preview Lab

Preview with #151E60

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

Preview Lab → · Contrast checker → · Palette generator →

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