#152E4F#152E4F

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

Color values

HEX#152E4F
RGBrgb(21, 46, 79)
HSLhsl(214, 58%, 20%)
HSVhsv(214, 73%, 31%)
CMYKcmyk(73.4%, 41.8%, 0%, 69%)
CIE-LABlab(18.70, 2.92, -23.12)
CIE-LCHlch(18.70, 23.31, 277.19°)
OKLaboklab(29.98% -0.0162 -0.0658)
OKLCHoklch(29.98% 0.068 256.1)
XYZxyz(2.6970, 2.6777, 7.7703)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E4F #4F3615
analogous
#154B4F #152E4F #19154F
triadic
#152E4F #4F152E #2E4F15
tetradic
#152E4F #4F154B #4F3615 #154F19
square
#152E4F #4F154B #4F3615 #154F19
split-complementary
#152E4F #4F1915 #4B4F15
monochromatic
#060E18 #08121F #152E4F #224A7F #2F66B0

Accessibility & contrast

On white

13.68
#152E4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152E4F
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E4F#FFFFFF#000000##FFFFFF
##152E4F1.0013.681.5413.68
#FFFFFF13.681.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3050
Deuteranopia (green-blind)
#172B4E
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152e4f;
/* rgb */ color: rgb(21, 46, 79);
/* oklch */ color: oklch(30.0% 0.068 256.1);
Tailwind
colors: {
  custom: {
    50: '#5a6680',
    500: '#152e4f',
    950: '#000000',
  },
}
SCSS
$custom: #152e4f;
$custom-light: #5a6680;
$custom-dark: #000000;
JSON
{
  "hex": "#152e4f",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 79
  },
  "hsl": {
    "h": 214.138,
    "s": 58,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29984,
    "c": 0.06775,
    "h": 256.1
  },
  "luminance": 0.02678
}

Semantic roles & 50–950 ramp

primary
#152E4F
secondary
#876539
accent
#9F47E1
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04050A
muted
#797A7C

Preview Lab

Preview with #152E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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