#152A68#152A68

#152A68 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 31.0% C 0.112 H 265.9°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#152A68
RGBrgb(21, 42, 104)
HSLhsl(225, 66%, 25%)
HSVhsv(225, 80%, 41%)
CMYKcmyk(79.8%, 59.6%, 0%, 59.2%)
CIE-LABlab(19.28, 16.37, -38.76)
CIE-LCHlch(19.28, 42.07, 292.90°)
OKLaboklab(31.02% -0.0081 -0.1118)
OKLCHoklch(31.02% 0.112 265.9)
XYZxyz(3.6350, 2.8144, 13.4457)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A68 #685315
analogous
#155468 #152A68 #291568
triadic
#152A68 #68152A #2A6815
tetradic
#152A68 #681554 #685315 #156829
square
#152A68 #681554 #685315 #156829
split-complementary
#152A68 #682915 #546815
monochromatic
#050A19 #0B1535 #152A68 #1F3F9B #2A53CE

Accessibility & contrast

On white

13.44
#152A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#152A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152A68
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A68#FFFFFF#000000##FFFFFF
##152A681.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#002B67
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #152a68;
/* rgb */ color: rgb(21, 42, 104);
/* oklch */ color: oklch(31.0% 0.112 265.9);
Tailwind
colors: {
  custom: {
    50: '#616394',
    500: '#152a68',
    950: '#000000',
  },
}
SCSS
$custom: #152a68;
$custom-light: #616394;
$custom-dark: #000000;
JSON
{
  "hex": "#152a68",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 104
  },
  "hsl": {
    "h": 224.819,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3102,
    "c": 0.11209,
    "h": 265.9
  },
  "luminance": 0.02815
}

Semantic roles & 50–950 ramp

primary
#152A68
secondary
#9F853A
accent
#BE3EE9
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #152A68

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

Preview Lab → · Contrast checker → · Palette generator →

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