#151E65#151E65

#151E65 is a dark, vivid blue. Relative luminance 0.020; OKLCH L 28.2% C 0.124 H 270.4°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#151E65
RGBrgb(21, 30, 101)
HSLhsl(233, 66%, 24%)
HSVhsv(233, 79%, 40%)
CMYKcmyk(79.2%, 70.3%, 0%, 60.4%)
CIE-LABlab(15.63, 23.79, -42.76)
CIE-LCHlch(15.63, 48.94, 299.09°)
OKLaboklab(28.22% 0.0008 -0.1237)
OKLCHoklch(28.22% 0.124 270.4)
XYZxyz(3.1217, 2.0272, 12.5362)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E65 #655C15
analogous
#154665 #151E65 #341565
triadic
#151E65 #65151E #1E6515
tetradic
#151E65 #651546 #655C15 #156534
square
#151E65 #651546 #655C15 #156534
split-complementary
#151E65 #653415 #466515
monochromatic
#050819 #0A0F32 #151E65 #202D98 #2A3CCA

Accessibility & contrast

On white

14.94
#151E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #151E65
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E65#FFFFFF#000000##FFFFFF
##151E651.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002364
Tritanopia (blue-blind)
#00313E
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #151e65;
/* rgb */ color: rgb(21, 30, 101);
/* oklch */ color: oklch(28.2% 0.124 270.4);
Tailwind
colors: {
  custom: {
    50: '#615a92',
    500: '#151e65',
    950: '#000000',
  },
}
SCSS
$custom: #151e65;
$custom-light: #615a92;
$custom-dark: #000000;
JSON
{
  "hex": "#151e65",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 101
  },
  "hsl": {
    "h": 233.25,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28224,
    "c": 0.12369,
    "h": 270.4
  },
  "luminance": 0.02028
}

Semantic roles & 50–950 ramp

primary
#151E65
secondary
#9C913A
accent
#D53FE9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151E65

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

Preview Lab → · Contrast checker → · Palette generator →

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