#152F6A#152F6A

#152F6A is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.108 H 263.6°. Best body text is #FFFFFF at 12.75:1 contrast (WCAG AA passes).

Color values

HEX#152F6A
RGBrgb(21, 47, 106)
HSLhsl(222, 67%, 25%)
HSVhsv(222, 80%, 42%)
CMYKcmyk(80.2%, 55.7%, 0%, 58.4%)
CIE-LABlab(20.95, 13.57, -37.35)
CIE-LCHlch(20.95, 39.74, 289.96°)
OKLaboklab(32.33% -0.0121 -0.1076)
OKLCHoklch(32.33% 0.108 263.6)
XYZxyz(3.9264, 3.2326, 14.0499)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F6A #6A5015
analogous
#155A6A #152F6A #26156A
triadic
#152F6A #6A152F #2F6A15
tetradic
#152F6A #6A155A #6A5015 #156A26
square
#152F6A #6A155A #6A5015 #156A26
split-complementary
#152F6A #6A2615 #5A6A15
monochromatic
#050B1A #0B1837 #152F6A #1F469D #295CD0

Accessibility & contrast

On white

12.75
#152F6A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#152F6A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F6A
12.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F6A#FFFFFF#000000##FFFFFF
##152F6A1.0012.751.6512.75
#FFFFFF12.751.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05366C
Deuteranopia (green-blind)
#002F69
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #152f6a;
/* rgb */ color: rgb(21, 47, 106);
/* oklch */ color: oklch(32.3% 0.108 263.6);
Tailwind
colors: {
  custom: {
    50: '#616795',
    500: '#152f6a',
    950: '#000000',
  },
}
SCSS
$custom: #152f6a;
$custom-light: #616795;
$custom-dark: #000000;
JSON
{
  "hex": "#152f6a",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 221.647,
    "s": 66.929,
    "l": 24.902
  },
  "oklch": {
    "l": 0.32332,
    "c": 0.10826,
    "h": 263.6
  },
  "luminance": 0.03233
}

Semantic roles & 50–950 ramp

primary
#152F6A
secondary
#A1813A
accent
#B53EEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060D
muted
#7A7A7E

Preview Lab

Preview with #152F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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