#152E70#152E70

#152E70 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.119 H 264.8°. Best body text is #FFFFFF at 12.68:1 contrast (WCAG AA passes).

Color values

HEX#152E70
RGBrgb(21, 46, 112)
HSLhsl(224, 68%, 26%)
HSVhsv(224, 81%, 44%)
CMYKcmyk(81.2%, 58.9%, 0%, 56.1%)
CIE-LABlab(21.14, 16.81, -40.92)
CIE-LCHlch(21.14, 44.24, 292.33°)
OKLaboklab(32.63% -0.0108 -0.1181)
OKLCHoklch(32.63% 0.119 264.8)
XYZxyz(4.2098, 3.2828, 15.7379)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E70 #705715
analogous
#155B70 #152E70 #291570
triadic
#152E70 #70152E #2E7015
tetradic
#152E70 #70155B #705715 #157029
square
#152E70 #70155B #705715 #157029
split-complementary
#152E70 #702915 #5B7015
monochromatic
#050B1A #0B193C #152E70 #1F43A4 #2958D7

Accessibility & contrast

On white

12.68
#152E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#152E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E70
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E70#FFFFFF#000000##FFFFFF
##152E701.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #152e70;
/* rgb */ color: rgb(21, 46, 112);
/* oklch */ color: oklch(32.6% 0.119 264.8);
Tailwind
colors: {
  custom: {
    50: '#62669a',
    500: '#152e70',
    950: '#000000',
  },
}
SCSS
$custom: #152e70;
$custom-light: #62669a;
$custom-dark: #000000;
JSON
{
  "hex": "#152e70",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 223.516,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.3263,
    "c": 0.11858,
    "h": 264.8
  },
  "luminance": 0.03283
}

Semantic roles & 50–950 ramp

primary
#152E70
secondary
#A6893B
accent
#BB3DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #152E70

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

Preview Lab → · Contrast checker → · Palette generator →

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