#152241#152241

#152241 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.8% C 0.061 H 265.2°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#152241
RGBrgb(21, 34, 65)
HSLhsl(222, 51%, 17%)
HSVhsv(222, 68%, 25%)
CMYKcmyk(67.7%, 47.7%, 0%, 74.5%)
CIE-LABlab(13.74, 5.95, -21.42)
CIE-LCHlch(13.74, 22.23, 285.53°)
OKLaboklab(25.84% -0.0051 -0.061)
OKLCHoklch(25.84% 0.061 265.2)
XYZxyz(1.8351, 1.6850, 5.2285)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152241 #413415
analogous
#153841 #152241 #1E1541
triadic
#152241 #411522 #224115
tetradic
#152241 #411538 #413415 #15411E
square
#152241 #411538 #413415 #15411E
split-complementary
#152241 #411E15 #384115
monochromatic
#070C17 #070C17 #152241 #243A6F #33529E

Accessibility & contrast

On white

15.71
#152241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#152241 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152241
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152241#FFFFFF#000000##FFFFFF
##1522411.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142542
Deuteranopia (green-blind)
#0E2140
Tritanopia (blue-blind)
#00292E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #152241;
/* rgb */ color: rgb(21, 34, 65);
/* oklch */ color: oklch(25.8% 0.061 265.2);
Tailwind
colors: {
  custom: {
    50: '#575c76',
    500: '#152241',
    950: '#000000',
  },
}
SCSS
$custom: #152241;
$custom-light: #575c76;
$custom-dark: #000000;
JSON
{
  "hex": "#152241",
  "rgb": {
    "r": 21,
    "g": 34,
    "b": 65
  },
  "hsl": {
    "h": 222.273,
    "s": 51.163,
    "l": 16.863
  },
  "oklch": {
    "l": 0.2584,
    "c": 0.06117,
    "h": 265.2
  },
  "luminance": 0.01685
}

Semantic roles & 50–950 ramp

primary
#152241
secondary
#796639
accent
#B14DDB
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #152241

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

Preview Lab → · Contrast checker → · Palette generator →

#152241 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva