#152E6D#152E6D

#152E6D is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.4% C 0.114 H 264.5°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#152E6D
RGBrgb(21, 46, 109)
HSLhsl(223, 68%, 25%)
HSVhsv(223, 81%, 43%)
CMYKcmyk(80.7%, 57.8%, 0%, 57.3%)
CIE-LABlab(20.89, 15.55, -39.39)
CIE-LCHlch(20.89, 42.35, 291.55°)
OKLaboklab(32.36% -0.011 -0.1136)
OKLCHoklch(32.36% 0.114 264.5)
XYZxyz(4.0456, 3.2171, 14.8728)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E6D #6D5415
analogous
#155A6D #152E6D #28156D
triadic
#152E6D #6D152E #2E6D15
tetradic
#152E6D #6D155A #6D5415 #156D28
square
#152E6D #6D155A #6D5415 #156D28
split-complementary
#152E6D #6D2815 #5A6D15
monochromatic
#050B1A #0B183A #152E6D #1F44A0 #2959D4

Accessibility & contrast

On white

12.78
#152E6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#152E6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E6D
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E6D#FFFFFF#000000##FFFFFF
##152E6D1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366F
Deuteranopia (green-blind)
#002E6C
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #152e6d;
/* rgb */ color: rgb(21, 46, 109);
/* oklch */ color: oklch(32.4% 0.114 264.5);
Tailwind
colors: {
  custom: {
    50: '#626697',
    500: '#152e6d',
    950: '#000000',
  },
}
SCSS
$custom: #152e6d;
$custom-light: #626697;
$custom-dark: #000000;
JSON
{
  "hex": "#152e6d",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 109
  },
  "hsl": {
    "h": 222.955,
    "s": 67.692,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32363,
    "c": 0.11412,
    "h": 264.5
  },
  "luminance": 0.03218
}

Semantic roles & 50–950 ramp

primary
#152E6D
secondary
#A3863A
accent
#B93DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #152E6D

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

Preview Lab → · Contrast checker → · Palette generator →

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