#152B61#152B61

#152B61 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.100 H 264.5°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#152B61
RGBrgb(21, 43, 97)
HSLhsl(223, 64%, 23%)
HSVhsv(223, 78%, 38%)
CMYKcmyk(78.4%, 55.7%, 0%, 62%)
CIE-LABlab(19.01, 12.69, -34.61)
CIE-LCHlch(19.01, 36.87, 290.13°)
OKLaboklab(30.63% -0.0096 -0.0996)
OKLCHoklch(30.63% 0.1 264.5)
XYZxyz(3.3300, 2.7499, 11.6622)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B61 #614B15
analogous
#155161 #152B61 #251561
triadic
#152B61 #61152B #2B6115
tetradic
#152B61 #611551 #614B15 #156125
square
#152B61 #611551 #614B15 #156125
split-complementary
#152B61 #612515 #516115
monochromatic
#050B19 #0A152F #152B61 #204193 #2B58C6

Accessibility & contrast

On white

13.55
#152B61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#152B61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B61
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B61#FFFFFF#000000##FFFFFF
##152B611.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073263
Deuteranopia (green-blind)
#002B60
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152b61;
/* rgb */ color: rgb(21, 43, 97);
/* oklch */ color: oklch(30.6% 0.100 264.5);
Tailwind
colors: {
  custom: {
    50: '#5f638e',
    500: '#152b61',
    950: '#000000',
  },
}
SCSS
$custom: #152b61;
$custom-light: #5f638e;
$custom-dark: #000000;
JSON
{
  "hex": "#152b61",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 97
  },
  "hsl": {
    "h": 222.632,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30633,
    "c": 0.10005,
    "h": 264.5
  },
  "luminance": 0.0275
}

Semantic roles & 50–950 ramp

primary
#152B61
secondary
#987D3A
accent
#B740E7
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #152B61

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

Preview Lab → · Contrast checker → · Palette generator →

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