#152A44#152A44

#152A44 is a dark, muted cyan. Relative luminance 0.022; OKLCH L 28.2% C 0.055 H 254.7°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#152A44
RGBrgb(21, 42, 68)
HSLhsl(213, 53%, 17%)
HSVhsv(213, 69%, 27%)
CMYKcmyk(69.1%, 38.2%, 0%, 73.3%)
CIE-LABlab(16.66, 1.28, -18.87)
CIE-LCHlch(16.66, 18.91, 273.87°)
OKLaboklab(28.17% -0.0146 -0.0534)
OKLCHoklch(28.17% 0.055 254.7)
XYZxyz(2.1802, 2.2325, 5.7837)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A44 #442F15
analogous
#154244 #152A44 #171544
triadic
#152A44 #44152A #2A4415
tetradic
#152A44 #441542 #442F15 #154417
square
#152A44 #441542 #442F15 #154417
split-complementary
#152A44 #441715 #424415
monochromatic
#070E17 #070E17 #152A44 #234773 #3264A2

Accessibility & contrast

On white

14.52
#152A44 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#152A44 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152A44
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A44#FFFFFF#000000##FFFFFF
##152A441.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2C45
Deuteranopia (green-blind)
#192743
Tritanopia (blue-blind)
#003033
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #152a44;
/* rgb */ color: rgb(21, 42, 68);
/* oklch */ color: oklch(28.2% 0.055 254.7);
Tailwind
colors: {
  custom: {
    50: '#586378',
    500: '#152a44',
    950: '#000000',
  },
}
SCSS
$custom: #152a44;
$custom-light: #586378;
$custom-dark: #000000;
JSON
{
  "hex": "#152a44",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 68
  },
  "hsl": {
    "h": 213.191,
    "s": 52.809,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28171,
    "c": 0.05535,
    "h": 254.7
  },
  "luminance": 0.02233
}

Semantic roles & 50–950 ramp

primary
#152A44
secondary
#7C5E39
accent
#9C4CDC
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #152A44

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

Preview Lab → · Contrast checker → · Palette generator →

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