#152C6B#152C6B

#152C6B is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.7% C 0.114 H 265.2°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#152C6B
RGBrgb(21, 44, 107)
HSLhsl(224, 67%, 25%)
HSVhsv(224, 80%, 42%)
CMYKcmyk(80.4%, 58.9%, 0%, 58%)
CIE-LABlab(20.13, 16.17, -39.33)
CIE-LCHlch(20.13, 42.53, 292.34°)
OKLaboklab(31.74% -0.0095 -0.1135)
OKLCHoklch(31.74% 0.114 265.2)
XYZxyz(3.8628, 3.0219, 14.2868)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C6B #6B5415
analogous
#15576B #152C6B #29156B
triadic
#152C6B #6B152C #2C6B15
tetradic
#152C6B #6B1557 #6B5415 #156B29
square
#152C6B #6B1557 #6B5415 #156B29
split-complementary
#152C6B #6B2915 #576B15
monochromatic
#050B1A #0B1738 #152C6B #1F419E #2956D1

Accessibility & contrast

On white

13.09
#152C6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#152C6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C6B
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C6B#FFFFFF#000000##FFFFFF
##152C6B1.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356D
Deuteranopia (green-blind)
#002D6A
Tritanopia (blue-blind)
#003C47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #152c6b;
/* rgb */ color: rgb(21, 44, 107);
/* oklch */ color: oklch(31.7% 0.114 265.2);
Tailwind
colors: {
  custom: {
    50: '#616496',
    500: '#152c6b',
    950: '#000000',
  },
}
SCSS
$custom: #152c6b;
$custom-light: #616496;
$custom-dark: #000000;
JSON
{
  "hex": "#152c6b",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 107
  },
  "hsl": {
    "h": 223.953,
    "s": 67.188,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31737,
    "c": 0.11386,
    "h": 265.2
  },
  "luminance": 0.03022
}

Semantic roles & 50–950 ramp

primary
#152C6B
secondary
#A2863A
accent
#BC3EEA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050D
muted
#7A797E

Preview Lab

Preview with #152C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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