#152E75#152E75

#152E75 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.1% C 0.126 H 265.2°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#152E75
RGBrgb(21, 46, 117)
HSLhsl(224, 70%, 27%)
HSVhsv(224, 82%, 46%)
CMYKcmyk(82.1%, 60.7%, 0%, 54.1%)
CIE-LABlab(21.57, 18.89, -43.43)
CIE-LCHlch(21.57, 47.36, 293.51°)
OKLaboklab(33.08% -0.0105 -0.1255)
OKLCHoklch(33.08% 0.126 265.2)
XYZxyz(4.4960, 3.3973, 17.2450)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E75 #755C15
analogous
#155E75 #152E75 #2C1575
triadic
#152E75 #75152E #2E7515
tetradic
#152E75 #75155E #755C15 #15752C
square
#152E75 #75155E #755C15 #15752C
split-complementary
#152E75 #752C15 #5E7515
monochromatic
#050A1A #0C1A41 #152E75 #1E42A9 #2B59D9

Accessibility & contrast

On white

12.50
#152E75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#152E75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E75
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E75#FFFFFF#000000##FFFFFF
##152E751.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003877
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #152e75;
/* rgb */ color: rgb(21, 46, 117);
/* oklch */ color: oklch(33.1% 0.126 265.2);
Tailwind
colors: {
  custom: {
    50: '#64669d',
    500: '#152e75',
    950: '#000000',
  },
}
SCSS
$custom: #152e75;
$custom-light: #64669d;
$custom-dark: #000000;
JSON
{
  "hex": "#152e75",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 224.375,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33084,
    "c": 0.12591,
    "h": 265.2
  },
  "luminance": 0.03398
}

Semantic roles & 50–950 ramp

primary
#152E75
secondary
#AB8E3B
accent
#BE3BEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #152E75

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

Preview Lab → · Contrast checker → · Palette generator →

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