#152E3F#152E3F

#152E3F is a dark, muted cyan. Relative luminance 0.025; OKLCH L 29.0% C 0.044 H 240.4°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#152E3F
RGBrgb(21, 46, 63)
HSLhsl(204, 50%, 16%)
HSVhsv(204, 67%, 25%)
CMYKcmyk(66.7%, 27%, 0%, 75.3%)
CIE-LABlab(17.79, -3.53, -13.66)
CIE-LCHlch(17.79, 14.11, 255.53°)
OKLaboklab(28.97% -0.0218 -0.0383)
OKLCHoklch(28.97% 0.044 240.4)
XYZxyz(2.1831, 2.4721, 5.0638)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E3F #3F2615
analogous
#153F3B #152E3F #15193F
triadic
#152E3F #3F152E #2E3F15
tetradic
#152E3F #3B153F #3F2615 #193F15
square
#152E3F #3B153F #3F2615 #193F15
split-complementary
#152E3F #3F1519 #3F3B15
monochromatic
#081117 #081117 #152E3F #24506D #34719B

Accessibility & contrast

On white

14.05
#152E3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152E3F
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E3F#FFFFFF#000000##FFFFFF
##152E3F1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262E40
Deuteranopia (green-blind)
#212A3F
Tritanopia (blue-blind)
#003234
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #152e3f;
/* rgb */ color: rgb(21, 46, 63);
/* oklch */ color: oklch(29.0% 0.044 240.4);
Tailwind
colors: {
  custom: {
    50: '#576674',
    500: '#152e3f',
    950: '#000000',
  },
}
SCSS
$custom: #152e3f;
$custom-light: #576674;
$custom-dark: #000000;
JSON
{
  "hex": "#152e3f",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 63
  },
  "hsl": {
    "h": 204.286,
    "s": 50,
    "l": 16.471
  },
  "oklch": {
    "l": 0.28969,
    "c": 0.04403,
    "h": 240.4
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#152E3F
secondary
#775239
accent
#874EDA
background
#F5F6F7
surface
#E9EBED
border
#C5C6C8
text
#030608
muted
#787A7B

Preview Lab

Preview with #152E3F

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

Preview Lab → · Contrast checker → · Palette generator →

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