#152E5E#152E5E

#152E5E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.091 H 261.9°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#152E5E
RGBrgb(21, 46, 94)
HSLhsl(219, 63%, 23%)
HSVhsv(219, 78%, 37%)
CMYKcmyk(77.7%, 51.1%, 0%, 63.1%)
CIE-LABlab(19.73, 9.22, -31.49)
CIE-LCHlch(19.73, 32.81, 286.33°)
OKLaboklab(31.1% -0.0129 -0.0903)
OKLCHoklch(31.1% 0.091 261.9)
XYZxyz(3.3059, 2.9212, 10.9771)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E5E #5E4515
analogous
#15525E #152E5E #21155E
triadic
#152E5E #5E152E #2E5E15
tetradic
#152E5E #5E1552 #5E4515 #155E21
square
#152E5E #5E1552 #5E4515 #155E21
split-complementary
#152E5E #5E2115 #525E15
monochromatic
#060C19 #0A162C #152E5E #204690 #2B5FC2

Accessibility & contrast

On white

13.25
#152E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#152E5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E5E
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E5E#FFFFFF#000000##FFFFFF
##152E5E1.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143360
Deuteranopia (green-blind)
#022D5D
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #152e5e;
/* rgb */ color: rgb(21, 46, 94);
/* oklch */ color: oklch(31.1% 0.091 261.9);
Tailwind
colors: {
  custom: {
    50: '#5e668c',
    500: '#152e5e',
    950: '#000000',
  },
}
SCSS
$custom: #152e5e;
$custom-light: #5e668c;
$custom-dark: #000000;
JSON
{
  "hex": "#152e5e",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 94
  },
  "hsl": {
    "h": 219.452,
    "s": 63.478,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31104,
    "c": 0.09124,
    "h": 261.9
  },
  "luminance": 0.02922
}

Semantic roles & 50–950 ramp

primary
#152E5E
secondary
#957639
accent
#AE41E7
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #152E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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