#152F4C#152F4C

#152F4C is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 30.0% C 0.062 H 252.8°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#152F4C
RGBrgb(21, 47, 76)
HSLhsl(212, 57%, 19%)
HSVhsv(212, 72%, 30%)
CMYKcmyk(72.4%, 38.2%, 0%, 70.2%)
CIE-LABlab(18.86, 0.97, -20.85)
CIE-LCHlch(18.86, 20.87, 272.66°)
OKLaboklab(30.05% -0.0183 -0.0591)
OKLCHoklch(30.05% 0.062 252.8)
XYZxyz(2.6298, 2.7140, 7.2213)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F4C #4C3215
analogous
#154B4C #152F4C #17154C
triadic
#152F4C #4C152F #2F4C15
tetradic
#152F4C #4C154B #4C3215 #154C17
square
#152F4C #4C154B #4C3215 #154C17
split-complementary
#152F4C #4C1715 #4B4C15
monochromatic
#070F18 #08111C #152F4C #224D7C #2F6AAC

Accessibility & contrast

On white

13.61
#152F4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#152F4C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F4C
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F4C#FFFFFF#000000##FFFFFF
##152F4C1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22314D
Deuteranopia (green-blind)
#1B2B4B
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152f4c;
/* rgb */ color: rgb(21, 47, 76);
/* oklch */ color: oklch(30.0% 0.062 252.8);
Tailwind
colors: {
  custom: {
    50: '#59677e',
    500: '#152f4c',
    950: '#000000',
  },
}
SCSS
$custom: #152f4c;
$custom-light: #59677e;
$custom-dark: #000000;
JSON
{
  "hex": "#152f4c",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 76
  },
  "hsl": {
    "h": 211.636,
    "s": 56.701,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30046,
    "c": 0.06189,
    "h": 252.8
  },
  "luminance": 0.02714
}

Semantic roles & 50–950 ramp

primary
#152F4C
secondary
#846039
accent
#9848E0
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #152F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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