#152149#152149

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

Color values

HEX#152149
RGBrgb(21, 33, 73)
HSLhsl(226, 55%, 18%)
HSVhsv(226, 71%, 29%)
CMYKcmyk(71.2%, 54.8%, 0%, 71.4%)
CIE-LABlab(13.99, 10.03, -26.57)
CIE-LCHlch(13.99, 28.40, 290.69°)
OKLaboklab(26.22% -0.0023 -0.0761)
OKLCHoklch(26.22% 0.076 268.2)
XYZxyz(2.0553, 1.7280, 6.5273)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152149 #493D15
analogous
#153B49 #152149 #231549
triadic
#152149 #491521 #214915
tetradic
#152149 #49153B #493D15 #154923
square
#152149 #49153B #493D15 #154923
split-complementary
#152149 #492315 #3B4915
monochromatic
#070B18 #070C19 #152149 #233679 #304CA8

Accessibility & contrast

On white

15.61
#152149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152149
15.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152149#FFFFFF#000000##FFFFFF
##1521491.0015.611.3515.61
#FFFFFF15.611.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B264A
Deuteranopia (green-blind)
#022148
Tritanopia (blue-blind)
#002A31
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #152149;
/* rgb */ color: rgb(21, 33, 73);
/* oklch */ color: oklch(26.2% 0.076 268.2);
Tailwind
colors: {
  custom: {
    50: '#595b7c',
    500: '#152149',
    950: '#000000',
  },
}
SCSS
$custom: #152149;
$custom-light: #595b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#152149",
  "rgb": {
    "r": 21,
    "g": 33,
    "b": 73
  },
  "hsl": {
    "h": 226.154,
    "s": 55.319,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26219,
    "c": 0.07614,
    "h": 268.2
  },
  "luminance": 0.01728
}

Semantic roles & 50–950 ramp

primary
#152149
secondary
#817039
accent
#BC49DF
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #152149

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

Preview Lab → · Contrast checker → · Palette generator →

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