#152C61#152C61

#152C61 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.099 H 263.9°. Best body text is #FFFFFF at 13.42:1 contrast (WCAG AA passes).

Color values

HEX#152C61
RGBrgb(21, 44, 97)
HSLhsl(222, 64%, 23%)
HSVhsv(222, 78%, 38%)
CMYKcmyk(78.4%, 54.6%, 0%, 62%)
CIE-LABlab(19.32, 11.96, -34.11)
CIE-LCHlch(19.32, 36.15, 289.31°)
OKLaboklab(30.87% -0.0105 -0.0981)
OKLCHoklch(30.87% 0.099 263.9)
XYZxyz(3.3668, 2.8235, 11.6745)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C61 #614A15
analogous
#155261 #152C61 #241561
triadic
#152C61 #61152C #2C6115
tetradic
#152C61 #611552 #614A15 #156124
square
#152C61 #611552 #614A15 #156124
split-complementary
#152C61 #612415 #526115
monochromatic
#050B19 #0A152F #152C61 #204393 #2B5AC6

Accessibility & contrast

On white

13.42
#152C61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#152C61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C61
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C61#FFFFFF#000000##FFFFFF
##152C611.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3363
Deuteranopia (green-blind)
#002C60
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #152c61;
/* rgb */ color: rgb(21, 44, 97);
/* oklch */ color: oklch(30.9% 0.099 263.9);
Tailwind
colors: {
  custom: {
    50: '#5e648e',
    500: '#152c61',
    950: '#000000',
  },
}
SCSS
$custom: #152c61;
$custom-light: #5e648e;
$custom-dark: #000000;
JSON
{
  "hex": "#152c61",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 97
  },
  "hsl": {
    "h": 221.842,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30868,
    "c": 0.09866,
    "h": 263.9
  },
  "luminance": 0.02824
}

Semantic roles & 50–950 ramp

primary
#152C61
secondary
#987C3A
accent
#B540E7
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #152C61

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

Preview Lab → · Contrast checker → · Palette generator →

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