#152A45#152A45

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

Color values

HEX#152A45
RGBrgb(21, 42, 69)
HSLhsl(214, 53%, 18%)
HSVhsv(214, 70%, 27%)
CMYKcmyk(69.6%, 39.1%, 0%, 72.9%)
CIE-LABlab(16.72, 1.69, -19.46)
CIE-LCHlch(16.72, 19.53, 274.95°)
OKLaboklab(28.24% -0.0143 -0.0551)
OKLCHoklch(28.24% 0.057 255.4)
XYZxyz(2.2110, 2.2448, 5.9458)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A45 #453015
analogous
#154245 #152A45 #181545
triadic
#152A45 #45152A #2A4515
tetradic
#152A45 #451542 #453015 #154518
square
#152A45 #451542 #453015 #154518
split-complementary
#152A45 #451815 #424515
monochromatic
#070E17 #070E17 #152A45 #234774 #3263A3

Accessibility & contrast

On white

14.49
#152A45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152A45
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A45#FFFFFF#000000##FFFFFF
##152A451.0014.491.4514.49
#FFFFFF14.491.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2C46
Deuteranopia (green-blind)
#182744
Tritanopia (blue-blind)
#003034
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #152a45;
/* rgb */ color: rgb(21, 42, 69);
/* oklch */ color: oklch(28.2% 0.057 255.4);
Tailwind
colors: {
  custom: {
    50: '#586379',
    500: '#152a45',
    950: '#000000',
  },
}
SCSS
$custom: #152a45;
$custom-light: #586379;
$custom-dark: #000000;
JSON
{
  "hex": "#152a45",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 69
  },
  "hsl": {
    "h": 213.75,
    "s": 53.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28238,
    "c": 0.05694,
    "h": 255.4
  },
  "luminance": 0.02245
}

Semantic roles & 50–950 ramp

primary
#152A45
secondary
#7D5F39
accent
#9D4BDD
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #152A45

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

Preview Lab → · Contrast checker → · Palette generator →

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