#152E66#152E66

#152E66 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.104 H 263.5°. Best body text is #FFFFFF at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#152E66
RGBrgb(21, 46, 102)
HSLhsl(221, 66%, 24%)
HSVhsv(221, 79%, 40%)
CMYKcmyk(79.4%, 54.9%, 0%, 60%)
CIE-LABlab(20.33, 12.61, -35.76)
CIE-LCHlch(20.33, 37.92, 289.42°)
OKLaboklab(31.76% -0.0117 -0.1029)
OKLCHoklch(31.76% 0.104 263.5)
XYZxyz(3.6837, 3.0723, 12.9667)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E66 #664D15
analogous
#155766 #152E66 #241566
triadic
#152E66 #66152E #2E6615
tetradic
#152E66 #661557 #664D15 #156624
square
#152E66 #661557 #664D15 #156624
split-complementary
#152E66 #662415 #576615
monochromatic
#050B19 #0B1733 #152E66 #1F4599 #2A5CCC

Accessibility & contrast

On white

13.01
#152E66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152E66
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E66#FFFFFF#000000##FFFFFF
##152E661.0013.011.6113.01
#FFFFFF13.011.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093568
Deuteranopia (green-blind)
#002D65
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #152e66;
/* rgb */ color: rgb(21, 46, 102);
/* oklch */ color: oklch(31.8% 0.104 263.5);
Tailwind
colors: {
  custom: {
    50: '#606692',
    500: '#152e66',
    950: '#000000',
  },
}
SCSS
$custom: #152e66;
$custom-light: #606692;
$custom-dark: #000000;
JSON
{
  "hex": "#152e66",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 102
  },
  "hsl": {
    "h": 221.481,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.3176,
    "c": 0.10356,
    "h": 263.5
  },
  "luminance": 0.03073
}

Semantic roles & 50–950 ramp

primary
#152E66
secondary
#9D7E3A
accent
#B43FE9
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #152E66

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

Preview Lab → · Contrast checker → · Palette generator →

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