#152C49#152C49

#152C49 is a dark, moderate cyan. Relative luminance 0.024; OKLCH L 29.0% C 0.061 H 255.1°. Best body text is #FFFFFF at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#152C49
RGBrgb(21, 44, 73)
HSLhsl(213, 55%, 18%)
HSVhsv(213, 71%, 29%)
CMYKcmyk(71.2%, 39.7%, 0%, 71.4%)
CIE-LABlab(17.65, 1.88, -20.73)
CIE-LCHlch(17.65, 20.81, 275.18°)
OKLaboklab(29.04% -0.0156 -0.0588)
OKLCHoklch(29.04% 0.061 255.1)
XYZxyz(2.4121, 2.4416, 6.6462)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C49 #493215
analogous
#154649 #152C49 #181549
triadic
#152C49 #49152C #2C4915
tetradic
#152C49 #491546 #493215 #154918
square
#152C49 #491546 #493215 #154918
split-complementary
#152C49 #491815 #464915
monochromatic
#070E18 #070F19 #152C49 #234979 #3065A8

Accessibility & contrast

On white

14.11
#152C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#152C49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C49
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C49#FFFFFF#000000##FFFFFF
##152C491.0014.111.4914.11
#FFFFFF14.111.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2E4A
Deuteranopia (green-blind)
#182948
Tritanopia (blue-blind)
#003337
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #152c49;
/* rgb */ color: rgb(21, 44, 73);
/* oklch */ color: oklch(29.0% 0.061 255.1);
Tailwind
colors: {
  custom: {
    50: '#59647c',
    500: '#152c49',
    950: '#000000',
  },
}
SCSS
$custom: #152c49;
$custom-light: #59647c;
$custom-dark: #000000;
JSON
{
  "hex": "#152c49",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 73
  },
  "hsl": {
    "h": 213.462,
    "s": 55.319,
    "l": 18.431
  },
  "oklch": {
    "l": 0.29043,
    "c": 0.06081,
    "h": 255.1
  },
  "luminance": 0.02442
}

Semantic roles & 50–950 ramp

primary
#152C49
secondary
#816139
accent
#9D49DF
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040509
muted
#797A7B

Preview Lab

Preview with #152C49

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

Preview Lab → · Contrast checker → · Palette generator →

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