#152E67#152E67

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

Color values

HEX#152E67
RGBrgb(21, 46, 103)
HSLhsl(222, 66%, 24%)
HSVhsv(222, 80%, 40%)
CMYKcmyk(79.6%, 55.3%, 0%, 59.6%)
CIE-LABlab(20.41, 13.03, -36.28)
CIE-LCHlch(20.41, 38.55, 289.75°)
OKLaboklab(31.84% -0.0116 -0.1044)
OKLCHoklch(31.84% 0.105 263.7)
XYZxyz(3.7336, 3.0923, 13.2294)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E67 #674E15
analogous
#155767 #152E67 #251567
triadic
#152E67 #67152E #2E6715
tetradic
#152E67 #671557 #674E15 #156725
square
#152E67 #671557 #674E15 #156725
split-complementary
#152E67 #672515 #576715
monochromatic
#050B19 #0B1734 #152E67 #1F459A #2A5BCD

Accessibility & contrast

On white

12.97
#152E67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#152E67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E67
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E67#FFFFFF#000000##FFFFFF
##152E671.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073569
Deuteranopia (green-blind)
#002E66
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #152e67;
/* rgb */ color: rgb(21, 46, 103);
/* oklch */ color: oklch(31.8% 0.105 263.7);
Tailwind
colors: {
  custom: {
    50: '#606693',
    500: '#152e67',
    950: '#000000',
  },
}
SCSS
$custom: #152e67;
$custom-light: #606693;
$custom-dark: #000000;
JSON
{
  "hex": "#152e67",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 103
  },
  "hsl": {
    "h": 221.707,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31844,
    "c": 0.10509,
    "h": 263.7
  },
  "luminance": 0.03093
}

Semantic roles & 50–950 ramp

primary
#152E67
secondary
#9E7F3A
accent
#B53FE9
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #152E67

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

Preview Lab → · Contrast checker → · Palette generator →

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