#152A34#152A34

#152A34 is a dark, muted cyan. Relative luminance 0.021; OKLCH L 27.2% C 0.033 H 230.2°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#152A34
RGBrgb(21, 42, 52)
HSLhsl(199, 42%, 14%)
HSVhsv(199, 60%, 20%)
CMYKcmyk(59.6%, 19.2%, 0%, 79.6%)
CIE-LABlab(15.81, -4.93, -9.06)
CIE-LCHlch(15.81, 10.32, 241.44°)
OKLaboklab(27.22% -0.0209 -0.0251)
OKLCHoklch(27.22% 0.033 230.2)
XYZxyz(1.7568, 2.0631, 3.5538)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A34 #341F15
analogous
#15342F #152A34 #151B34
triadic
#152A34 #34152A #2A3415
tetradic
#152A34 #2F1534 #341F15 #1B3415
square
#152A34 #2F1534 #341F15 #1B3415
split-complementary
#152A34 #34151B #342F15
monochromatic
#091216 #091216 #152A34 #274D60 #38708B

Accessibility & contrast

On white

14.87
#152A34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#152A34 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152A34
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A34#FFFFFF#000000##FFFFFF
##152A341.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252935
Deuteranopia (green-blind)
#212634
Tritanopia (blue-blind)
#052D2D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #152a34;
/* rgb */ color: rgb(21, 42, 52);
/* oklch */ color: oklch(27.2% 0.033 230.2);
Tailwind
colors: {
  custom: {
    50: '#55636b',
    500: '#152a34',
    950: '#000000',
  },
}
SCSS
$custom: #152a34;
$custom-light: #55636b;
$custom-dark: #000000;
JSON
{
  "hex": "#152a34",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 52
  },
  "hsl": {
    "h": 199.355,
    "s": 42.466,
    "l": 14.314
  },
  "oklch": {
    "l": 0.27224,
    "c": 0.03272,
    "h": 230.2
  },
  "luminance": 0.02063
}

Semantic roles & 50–950 ramp

primary
#152A34
secondary
#6B4A3A
accent
#7E56D2
background
#F5F5F6
surface
#E9EAEB
border
#C5C6C6
text
#030506
muted
#78797A

Preview Lab

Preview with #152A34

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

Preview Lab → · Contrast checker → · Palette generator →

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