#152A46#152A46

#152A46 is a dark, muted cyan. Relative luminance 0.023; OKLCH L 28.3% C 0.059 H 256.2°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#152A46
RGBrgb(21, 42, 70)
HSLhsl(214, 54%, 18%)
HSVhsv(214, 70%, 27%)
CMYKcmyk(70%, 40%, 0%, 72.5%)
CIE-LABlab(16.78, 2.09, -20.05)
CIE-LCHlch(16.78, 20.16, 275.96°)
OKLaboklab(28.31% -0.014 -0.0568)
OKLCHoklch(28.31% 0.059 256.2)
XYZxyz(2.2423, 2.2573, 6.1107)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A46 #463115
analogous
#154246 #152A46 #191546
triadic
#152A46 #46152A #2A4615
tetradic
#152A46 #461542 #463115 #154619
square
#152A46 #461542 #463115 #154619
split-complementary
#152A46 #461915 #424615
monochromatic
#070E18 #070E18 #152A46 #234675 #3162A4

Accessibility & contrast

On white

14.47
#152A46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152A46
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A46#FFFFFF#000000##FFFFFF
##152A461.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #152a46;
/* rgb */ color: rgb(21, 42, 70);
/* oklch */ color: oklch(28.3% 0.059 256.2);
Tailwind
colors: {
  custom: {
    50: '#586379',
    500: '#152a46',
    950: '#000000',
  },
}
SCSS
$custom: #152a46;
$custom-light: #586379;
$custom-dark: #000000;
JSON
{
  "hex": "#152a46",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 70
  },
  "hsl": {
    "h": 214.286,
    "s": 53.846,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28305,
    "c": 0.05853,
    "h": 256.2
  },
  "luminance": 0.02258
}

Semantic roles & 50–950 ramp

primary
#152A46
secondary
#7E6039
accent
#9E4BDD
background
#F5F5F7
surface
#E9EAED
border
#C5C6C8
text
#030509
muted
#78797B

Preview Lab

Preview with #152A46

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

Preview Lab → · Contrast checker → · Palette generator →

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