#152E60#152E60

#152E60 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.3% C 0.094 H 262.4°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#152E60
RGBrgb(21, 46, 96)
HSLhsl(220, 64%, 23%)
HSVhsv(220, 78%, 38%)
CMYKcmyk(78.1%, 52.1%, 0%, 62.4%)
CIE-LABlab(19.87, 10.07, -32.57)
CIE-LCHlch(19.87, 34.09, 287.18°)
OKLaboklab(31.26% -0.0125 -0.0935)
OKLCHoklch(31.26% 0.094 262.4)
XYZxyz(3.3968, 2.9576, 11.4559)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E60 #604715
analogous
#155360 #152E60 #211560
triadic
#152E60 #60152E #2E6015
tetradic
#152E60 #601553 #604715 #156021
square
#152E60 #601553 #604715 #156021
split-complementary
#152E60 #602115 #536015
monochromatic
#050C19 #0A162E #152E60 #204692 #2B5EC4

Accessibility & contrast

On white

13.19
#152E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#152E60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E60
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E60#FFFFFF#000000##FFFFFF
##152E601.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123462
Deuteranopia (green-blind)
#002D5F
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #152e60;
/* rgb */ color: rgb(21, 46, 96);
/* oklch */ color: oklch(31.3% 0.094 262.4);
Tailwind
colors: {
  custom: {
    50: '#5e668d',
    500: '#152e60',
    950: '#000000',
  },
}
SCSS
$custom: #152e60;
$custom-light: #5e668d;
$custom-dark: #000000;
JSON
{
  "hex": "#152e60",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 96
  },
  "hsl": {
    "h": 220,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31264,
    "c": 0.09435,
    "h": 262.4
  },
  "luminance": 0.02958
}

Semantic roles & 50–950 ramp

primary
#152E60
secondary
#97783A
accent
#B041E7
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #152E60

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

Preview Lab → · Contrast checker → · Palette generator →

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