#152F4D#152F4D

#152F4D is a dark, moderate cyan. Relative luminance 0.027; OKLCH L 30.1% C 0.063 H 253.5°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#152F4D
RGBrgb(21, 47, 77)
HSLhsl(212, 57%, 19%)
HSVhsv(212, 73%, 30%)
CMYKcmyk(72.7%, 39%, 0%, 69.8%)
CIE-LABlab(18.92, 1.38, -21.43)
CIE-LCHlch(18.92, 21.48, 273.68°)
OKLaboklab(30.11% -0.018 -0.0608)
OKLCHoklch(30.11% 0.063 253.5)
XYZxyz(2.6648, 2.7280, 7.4059)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F4D #4D3315
analogous
#154B4D #152F4D #17154D
triadic
#152F4D #4D152F #2F4D15
tetradic
#152F4D #4D154B #4D3315 #154D17
square
#152F4D #4D154B #4D3315 #154D17
split-complementary
#152F4D #4D1715 #4B4D15
monochromatic
#070F18 #08121D #152F4D #224C7D #2F6AAD

Accessibility & contrast

On white

13.59
#152F4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#152F4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F4D
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F4D#FFFFFF#000000##FFFFFF
##152F4D1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #152f4d;
/* rgb */ color: rgb(21, 47, 77);
/* oklch */ color: oklch(30.1% 0.063 253.5);
Tailwind
colors: {
  custom: {
    50: '#5a677f',
    500: '#152f4d',
    950: '#000000',
  },
}
SCSS
$custom: #152f4d;
$custom-light: #5a677f;
$custom-dark: #000000;
JSON
{
  "hex": "#152f4d",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 77
  },
  "hsl": {
    "h": 212.143,
    "s": 57.143,
    "l": 19.216
  },
  "oklch": {
    "l": 0.30112,
    "c": 0.06342,
    "h": 253.5
  },
  "luminance": 0.02728
}

Semantic roles & 50–950 ramp

primary
#152F4D
secondary
#856239
accent
#9947E0
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #152F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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