#152F60#152F60

#152F60 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.5% C 0.093 H 261.6°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#152F60
RGBrgb(21, 47, 96)
HSLhsl(219, 64%, 23%)
HSVhsv(219, 78%, 38%)
CMYKcmyk(78.1%, 51%, 0%, 62.4%)
CIE-LABlab(20.19, 9.34, -32.06)
CIE-LCHlch(20.19, 33.39, 286.24°)
OKLaboklab(31.51% -0.0135 -0.092)
OKLCHoklch(31.51% 0.093 261.6)
XYZxyz(3.4363, 3.0366, 11.4691)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F60 #604615
analogous
#155460 #152F60 #201560
triadic
#152F60 #60152F #2F6015
tetradic
#152F60 #601554 #604615 #156020
square
#152F60 #601554 #604615 #156020
split-complementary
#152F60 #602015 #546015
monochromatic
#050C19 #0A162E #152F60 #204892 #2B60C4

Accessibility & contrast

On white

13.06
#152F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#152F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F60
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F60#FFFFFF#000000##FFFFFF
##152F601.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143462
Deuteranopia (green-blind)
#022D5F
Tritanopia (blue-blind)
#003B42
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #152f60;
/* rgb */ color: rgb(21, 47, 96);
/* oklch */ color: oklch(31.5% 0.093 261.6);
Tailwind
colors: {
  custom: {
    50: '#5e678d',
    500: '#152f60',
    950: '#000000',
  },
}
SCSS
$custom: #152f60;
$custom-light: #5e678d;
$custom-dark: #000000;
JSON
{
  "hex": "#152f60",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 96
  },
  "hsl": {
    "h": 219.2,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31507,
    "c": 0.09298,
    "h": 261.6
  },
  "luminance": 0.03037
}

Semantic roles & 50–950 ramp

primary
#152F60
secondary
#97773A
accent
#AD41E7
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #152F60

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

Preview Lab → · Contrast checker → · Palette generator →

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