#152C6E#152C6E

#152C6E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.118 H 265.5°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#152C6E
RGBrgb(21, 44, 110)
HSLhsl(224, 68%, 26%)
HSVhsv(224, 81%, 43%)
CMYKcmyk(80.9%, 60%, 0%, 56.9%)
CIE-LABlab(20.39, 17.42, -40.86)
CIE-LCHlch(20.39, 44.42, 293.09°)
OKLaboklab(32.01% -0.0093 -0.1179)
OKLCHoklch(32.01% 0.118 265.5)
XYZxyz(4.0234, 3.0861, 15.1325)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C6E #6E5715
analogous
#15586E #152C6E #2A156E
triadic
#152C6E #6E152C #2C6E15
tetradic
#152C6E #6E1558 #6E5715 #156E2A
square
#152C6E #6E1558 #6E5715 #156E2A
split-complementary
#152C6E #6E2A15 #586E15
monochromatic
#050A1A #0B173B #152C6E #1F41A1 #2955D5

Accessibility & contrast

On white

12.98
#152C6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#152C6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C6E
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C6E#FFFFFF#000000##FFFFFF
##152C6E1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #152c6e;
/* rgb */ color: rgb(21, 44, 110);
/* oklch */ color: oklch(32.0% 0.118 265.5);
Tailwind
colors: {
  custom: {
    50: '#626498',
    500: '#152c6e',
    950: '#000000',
  },
}
SCSS
$custom: #152c6e;
$custom-light: #626498;
$custom-dark: #000000;
JSON
{
  "hex": "#152c6e",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 110
  },
  "hsl": {
    "h": 224.494,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32008,
    "c": 0.11832,
    "h": 265.5
  },
  "luminance": 0.03087
}

Semantic roles & 50–950 ramp

primary
#152C6E
secondary
#A4893A
accent
#BE3DEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #152C6E

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

Preview Lab → · Contrast checker → · Palette generator →

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