#152246#152246

#152246 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.2% C 0.070 H 266.7°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#152246
RGBrgb(21, 34, 70)
HSLhsl(224, 54%, 18%)
HSVhsv(224, 70%, 27%)
CMYKcmyk(70%, 51.4%, 0%, 72.5%)
CIE-LABlab(14.09, 8.02, -24.33)
CIE-LCHlch(14.09, 25.62, 288.25°)
OKLaboklab(26.22% -0.004 -0.0695)
OKLCHoklch(26.22% 0.07 266.7)
XYZxyz(1.9864, 1.7455, 6.0254)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152246 #463915
analogous
#153A46 #152246 #211546
triadic
#152246 #461522 #224615
tetradic
#152246 #46153A #463915 #154621
square
#152246 #46153A #463915 #154621
split-complementary
#152246 #462115 #3A4615
monochromatic
#070B18 #070B18 #152246 #233975 #3150A4

Accessibility & contrast

On white

15.56
#152246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#152246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152246
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152246#FFFFFF#000000##FFFFFF
##1522461.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112647
Deuteranopia (green-blind)
#082245
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #152246;
/* rgb */ color: rgb(21, 34, 70);
/* oklch */ color: oklch(26.2% 0.070 266.7);
Tailwind
colors: {
  custom: {
    50: '#585c7a',
    500: '#152246',
    950: '#000000',
  },
}
SCSS
$custom: #152246;
$custom-light: #585c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#152246",
  "rgb": {
    "r": 21,
    "g": 34,
    "b": 70
  },
  "hsl": {
    "h": 224.082,
    "s": 53.846,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26224,
    "c": 0.06963,
    "h": 266.7
  },
  "luminance": 0.01746
}

Semantic roles & 50–950 ramp

primary
#152246
secondary
#7E6C39
accent
#B64BDD
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#040409
muted
#79797B

Preview Lab

Preview with #152246

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

Preview Lab → · Contrast checker → · Palette generator →

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