#151E6B#151E6B

#151E6B is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.9% C 0.132 H 270.1°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#151E6B
RGBrgb(21, 30, 107)
HSLhsl(234, 67%, 25%)
HSVhsv(234, 80%, 42%)
CMYKcmyk(80.4%, 72%, 0%, 58%)
CIE-LABlab(16.25, 26.16, -45.68)
CIE-LCHlch(16.25, 52.64, 299.80°)
OKLaboklab(28.87% 0.0002 -0.1322)
OKLCHoklch(28.87% 0.132 270.1)
XYZxyz(3.4265, 2.1491, 14.1413)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#151E6B #6B6215
analogous
#15496B #151E6B #37156B
triadic
#151E6B #6B151E #1E6B15
tetradic
#151E6B #6B1549 #6B6215 #156B37
square
#151E6B #6B1549 #6B6215 #156B37
split-complementary
#151E6B #6B3715 #496B15
monochromatic
#05071A #0B1038 #151E6B #1F2C9E #293BD1

Accessibility & contrast

On white

14.69
#151E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#151E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #151E6B
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##151E6B#FFFFFF#000000##FFFFFF
##151E6B1.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6D
Deuteranopia (green-blind)
#00246A
Tritanopia (blue-blind)
#003342
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #151e6b;
/* rgb */ color: rgb(21, 30, 107);
/* oklch */ color: oklch(28.9% 0.132 270.1);
Tailwind
colors: {
  custom: {
    50: '#635a96',
    500: '#151e6b',
    950: '#000000',
  },
}
SCSS
$custom: #151e6b;
$custom-light: #635a96;
$custom-dark: #000000;
JSON
{
  "hex": "#151e6b",
  "rgb": {
    "r": 21,
    "g": 30,
    "b": 107
  },
  "hsl": {
    "h": 233.721,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.28865,
    "c": 0.13221,
    "h": 270.1
  },
  "luminance": 0.0215
}

Semantic roles & 50–950 ramp

primary
#151E6B
secondary
#A2973A
accent
#D83EEA
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06030D
muted
#7A787E

Preview Lab

Preview with #151E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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