#152E6B#152E6B

#152E6B is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.2% C 0.111 H 264.2°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#152E6B
RGBrgb(21, 46, 107)
HSLhsl(223, 67%, 25%)
HSVhsv(223, 80%, 42%)
CMYKcmyk(80.4%, 57%, 0%, 58%)
CIE-LABlab(20.73, 14.71, -38.36)
CIE-LCHlch(20.73, 41.09, 290.99°)
OKLaboklab(32.19% -0.0112 -0.1106)
OKLCHoklch(32.19% 0.111 264.2)
XYZxyz(3.9392, 3.1745, 14.3122)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E6B #6B5215
analogous
#15596B #152E6B #27156B
triadic
#152E6B #6B152E #2E6B15
tetradic
#152E6B #6B1559 #6B5215 #156B27
square
#152E6B #6B1559 #6B5215 #156B27
split-complementary
#152E6B #6B2715 #596B15
monochromatic
#050B1A #0B1838 #152E6B #1F449E #295AD1

Accessibility & contrast

On white

12.84
#152E6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#152E6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E6B
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E6B#FFFFFF#000000##FFFFFF
##152E6B1.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366D
Deuteranopia (green-blind)
#002E6A
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #152e6b;
/* rgb */ color: rgb(21, 46, 107);
/* oklch */ color: oklch(32.2% 0.111 264.2);
Tailwind
colors: {
  custom: {
    50: '#616696',
    500: '#152e6b',
    950: '#000000',
  },
}
SCSS
$custom: #152e6b;
$custom-light: #616696;
$custom-dark: #000000;
JSON
{
  "hex": "#152e6b",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 107
  },
  "hsl": {
    "h": 222.558,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32188,
    "c": 0.11112,
    "h": 264.2
  },
  "luminance": 0.03175
}

Semantic roles & 50–950 ramp

primary
#152E6B
secondary
#A2843A
accent
#B83EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #152E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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