#152E61#152E61

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

Color values

HEX#152E61
RGBrgb(21, 46, 97)
HSLhsl(220, 64%, 23%)
HSVhsv(220, 78%, 38%)
CMYKcmyk(78.4%, 52.6%, 0%, 62%)
CIE-LABlab(19.95, 10.49, -33.10)
CIE-LCHlch(19.95, 34.73, 287.59°)
OKLaboklab(31.35% -0.0124 -0.0951)
OKLCHoklch(31.35% 0.096 262.6)
XYZxyz(3.4432, 2.9761, 11.6999)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E61 #614815
analogous
#155461 #152E61 #221561
triadic
#152E61 #61152E #2E6115
tetradic
#152E61 #611554 #614815 #156122
square
#152E61 #611554 #614815 #156122
split-complementary
#152E61 #612215 #546115
monochromatic
#050C19 #0A162F #152E61 #204693 #2B5EC6

Accessibility & contrast

On white

13.16
#152E61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#152E61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E61
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E61#FFFFFF#000000##FFFFFF
##152E611.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #152e61;
/* rgb */ color: rgb(21, 46, 97);
/* oklch */ color: oklch(31.3% 0.096 262.6);
Tailwind
colors: {
  custom: {
    50: '#5e668e',
    500: '#152e61',
    950: '#000000',
  },
}
SCSS
$custom: #152e61;
$custom-light: #5e668e;
$custom-dark: #000000;
JSON
{
  "hex": "#152e61",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 97
  },
  "hsl": {
    "h": 220.263,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31345,
    "c": 0.09589,
    "h": 262.6
  },
  "luminance": 0.02976
}

Semantic roles & 50–950 ramp

primary
#152E61
secondary
#98793A
accent
#B040E7
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #152E61

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

Preview Lab → · Contrast checker → · Palette generator →

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