#152D69#152D69

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

Color values

HEX#152D69
RGBrgb(21, 45, 105)
HSLhsl(223, 67%, 25%)
HSVhsv(223, 80%, 41%)
CMYKcmyk(80%, 57.1%, 0%, 58.8%)
CIE-LABlab(20.27, 14.60, -37.82)
CIE-LCHlch(20.27, 40.54, 291.11°)
OKLaboklab(31.79% -0.0105 -0.109)
OKLCHoklch(31.79% 0.109 264.5)
XYZxyz(3.7965, 3.0557, 13.7516)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D69 #695115
analogous
#155769 #152D69 #271569
triadic
#152D69 #69152D #2D6915
tetradic
#152D69 #691557 #695115 #156927
square
#152D69 #691557 #695115 #156927
split-complementary
#152D69 #692715 #576915
monochromatic
#050B1A #0B1736 #152D69 #1F439C #2959CF

Accessibility & contrast

On white

13.03
#152D69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #152D69
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D69#FFFFFF#000000##FFFFFF
##152D691.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00356B
Deuteranopia (green-blind)
#002D68
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #152d69;
/* rgb */ color: rgb(21, 45, 105);
/* oklch */ color: oklch(31.8% 0.109 264.5);
Tailwind
colors: {
  custom: {
    50: '#616594',
    500: '#152d69',
    950: '#000000',
  },
}
SCSS
$custom: #152d69;
$custom-light: #616594;
$custom-dark: #000000;
JSON
{
  "hex": "#152d69",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 105
  },
  "hsl": {
    "h": 222.857,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31786,
    "c": 0.10949,
    "h": 264.5
  },
  "luminance": 0.03056
}

Semantic roles & 50–950 ramp

primary
#152D69
secondary
#A0833A
accent
#B93EEA
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #152D69

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

Preview Lab → · Contrast checker → · Palette generator →

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