#152A69#152A69

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

Color values

HEX#152A69
RGBrgb(21, 42, 105)
HSLhsl(225, 67%, 25%)
HSVhsv(225, 80%, 41%)
CMYKcmyk(80%, 60%, 0%, 58.8%)
CIE-LABlab(19.37, 16.79, -39.27)
CIE-LCHlch(19.37, 42.71, 293.14°)
OKLaboklab(31.11% -0.008 -0.1133)
OKLCHoklch(31.11% 0.114 265.9)
XYZxyz(3.6861, 2.8349, 13.7148)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A69 #695415
analogous
#155469 #152A69 #2A1569
triadic
#152A69 #69152A #2A6915
tetradic
#152A69 #691554 #695415 #15692A
square
#152A69 #691554 #695415 #15692A
split-complementary
#152A69 #692A15 #546915
monochromatic
#050A1A #0B1636 #152A69 #1F3E9C #2953CF

Accessibility & contrast

On white

13.40
#152A69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#152A69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152A69
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A69#FFFFFF#000000##FFFFFF
##152A691.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #152a69;
/* rgb */ color: rgb(21, 42, 105);
/* oklch */ color: oklch(31.1% 0.114 265.9);
Tailwind
colors: {
  custom: {
    50: '#616394',
    500: '#152a69',
    950: '#000000',
  },
}
SCSS
$custom: #152a69;
$custom-light: #616394;
$custom-dark: #000000;
JSON
{
  "hex": "#152a69",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 105
  },
  "hsl": {
    "h": 225,
    "s": 66.667,
    "l": 24.706
  },
  "oklch": {
    "l": 0.31111,
    "c": 0.1136,
    "h": 265.9
  },
  "luminance": 0.02835
}

Semantic roles & 50–950 ramp

primary
#152A69
secondary
#A0863A
accent
#BF3EEA
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#06050D
muted
#7A797E

Preview Lab

Preview with #152A69

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

Preview Lab → · Contrast checker → · Palette generator →

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