#152B68#152B68

#152B68 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.111 H 265.4°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#152B68
RGBrgb(21, 43, 104)
HSLhsl(224, 66%, 25%)
HSVhsv(224, 80%, 41%)
CMYKcmyk(79.8%, 58.7%, 0%, 59.2%)
CIE-LABlab(19.58, 15.64, -38.28)
CIE-LCHlch(19.58, 41.35, 292.22°)
OKLaboklab(31.24% -0.0089 -0.1104)
OKLCHoklch(31.24% 0.111 265.4)
XYZxyz(3.6709, 2.8863, 13.4577)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B68 #685215
analogous
#155568 #152B68 #281568
triadic
#152B68 #68152B #2B6815
tetradic
#152B68 #681555 #685215 #156828
square
#152B68 #681555 #685215 #156828
split-complementary
#152B68 #682815 #556815
monochromatic
#050B19 #0B1635 #152B68 #1F409B #2A55CE

Accessibility & contrast

On white

13.31
#152B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#152B68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B68
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B68#FFFFFF#000000##FFFFFF
##152B681.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #152b68;
/* rgb */ color: rgb(21, 43, 104);
/* oklch */ color: oklch(31.2% 0.111 265.4);
Tailwind
colors: {
  custom: {
    50: '#606394',
    500: '#152b68',
    950: '#000000',
  },
}
SCSS
$custom: #152b68;
$custom-light: #606394;
$custom-dark: #000000;
JSON
{
  "hex": "#152b68",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 224.096,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31244,
    "c": 0.11072,
    "h": 265.4
  },
  "luminance": 0.02887
}

Semantic roles & 50–950 ramp

primary
#152B68
secondary
#9F843A
accent
#BC3EE9
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #152B68

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

Preview Lab → · Contrast checker → · Palette generator →

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