#151E66#151E66

#151E66 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.3% C 0.125 H 270.3°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#151E66
RGBrgb(21, 30, 102)
HSLhsl(233, 66%, 24%)
HSVhsv(233, 79%, 40%)
CMYKcmyk(79.4%, 70.6%, 0%, 60%)
CIE-LABlab(15.73, 24.19, -43.25)
CIE-LCHlch(15.73, 49.56, 299.21°)
OKLaboklab(28.33% 0.0007 -0.1251)
OKLCHoklch(28.33% 0.125 270.3)
XYZxyz(3.1710, 2.0469, 12.7958)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E66 #665D15
analogous
#154766 #151E66 #351566
triadic
#151E66 #66151E #1E6615
tetradic
#151E66 #661547 #665D15 #156635
square
#151E66 #661547 #665D15 #156635
split-complementary
#151E66 #663515 #476615
monochromatic
#050719 #0B0F33 #151E66 #1F2D99 #2A3CCC

Accessibility & contrast

On white

14.90
#151E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#151E66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E66
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E66#FFFFFF#000000##FFFFFF
##151E661.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B68
Deuteranopia (green-blind)
#002365
Tritanopia (blue-blind)
#00313F
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #151e66;
/* rgb */ color: rgb(21, 30, 102);
/* oklch */ color: oklch(28.3% 0.125 270.3);
Tailwind
colors: {
  custom: {
    50: '#615a92',
    500: '#151e66',
    950: '#000000',
  },
}
SCSS
$custom: #151e66;
$custom-light: #615a92;
$custom-dark: #000000;
JSON
{
  "hex": "#151e66",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 102
  },
  "hsl": {
    "h": 233.333,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.2833,
    "c": 0.12513,
    "h": 270.3
  },
  "luminance": 0.02047
}

Semantic roles & 50–950 ramp

primary
#151E66
secondary
#9D923A
accent
#D63FE9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151E66

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

Preview Lab → · Contrast checker → · Palette generator →

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