#152B6E#152B6E

#152B6E is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.120 H 265.9°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#152B6E
RGBrgb(21, 43, 110)
HSLhsl(225, 68%, 26%)
HSVhsv(225, 81%, 43%)
CMYKcmyk(80.9%, 60.9%, 0%, 56.9%)
CIE-LABlab(20.09, 18.15, -41.34)
CIE-LCHlch(20.09, 45.15, 293.70°)
OKLaboklab(31.79% -0.0086 -0.1194)
OKLCHoklch(31.79% 0.12 265.9)
XYZxyz(3.9866, 3.0125, 15.1202)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B6E #6E5815
analogous
#15576E #152B6E #2C156E
triadic
#152B6E #6E152B #2B6E15
tetradic
#152B6E #6E1557 #6E5815 #156E2C
square
#152B6E #6E1557 #6E5815 #156E2C
split-complementary
#152B6E #6E2C15 #576E15
monochromatic
#050A1A #0B173B #152B6E #1F3FA1 #2953D5

Accessibility & contrast

On white

13.10
#152B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#152B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B6E
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B6E#FFFFFF#000000##FFFFFF
##152B6E1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #152b6e;
/* rgb */ color: rgb(21, 43, 110);
/* oklch */ color: oklch(31.8% 0.120 265.9);
Tailwind
colors: {
  custom: {
    50: '#626398',
    500: '#152b6e',
    950: '#000000',
  },
}
SCSS
$custom: #152b6e;
$custom-light: #626398;
$custom-dark: #000000;
JSON
{
  "hex": "#152b6e",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 110
  },
  "hsl": {
    "h": 225.169,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31789,
    "c": 0.11967,
    "h": 265.9
  },
  "luminance": 0.03013
}

Semantic roles & 50–950 ramp

primary
#152B6E
secondary
#A48A3A
accent
#C03DEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #152B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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