#152D6F#152D6F

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

Color values

HEX#152D6F
RGBrgb(21, 45, 111)
HSLhsl(224, 68%, 26%)
HSVhsv(224, 81%, 44%)
CMYKcmyk(81.1%, 59.5%, 0%, 56.5%)
CIE-LABlab(20.76, 17.12, -40.89)
CIE-LCHlch(20.76, 44.33, 292.71°)
OKLaboklab(32.32% -0.01 -0.118)
OKLCHoklch(32.32% 0.118 265.1)
XYZxyz(4.1159, 3.1834, 15.4334)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D6F #6F5715
analogous
#155A6F #152D6F #2A156F
triadic
#152D6F #6F152D #2D6F15
tetradic
#152D6F #6F155A #6F5715 #156F2A
square
#152D6F #6F155A #6F5715 #156F2A
split-complementary
#152D6F #6F2A15 #5A6F15
monochromatic
#050A1A #0B183C #152D6F #1F42A2 #2857D6

Accessibility & contrast

On white

12.83
#152D6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152D6F
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D6F#FFFFFF#000000##FFFFFF
##152D6F1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #152d6f;
/* rgb */ color: rgb(21, 45, 111);
/* oklch */ color: oklch(32.3% 0.118 265.1);
Tailwind
colors: {
  custom: {
    50: '#626599',
    500: '#152d6f',
    950: '#000000',
  },
}
SCSS
$custom: #152d6f;
$custom-light: #626599;
$custom-dark: #000000;
JSON
{
  "hex": "#152d6f",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 111
  },
  "hsl": {
    "h": 224,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32319,
    "c": 0.11845,
    "h": 265.1
  },
  "luminance": 0.03184
}

Semantic roles & 50–950 ramp

primary
#152D6F
secondary
#A5893A
accent
#BD3DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #152D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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