#152F73#152F73

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

Color values

HEX#152F73
RGBrgb(21, 47, 115)
HSLhsl(223, 69%, 27%)
HSVhsv(223, 82%, 45%)
CMYKcmyk(81.7%, 59.1%, 0%, 54.9%)
CIE-LABlab(21.69, 17.34, -41.96)
CIE-LCHlch(21.69, 45.40, 292.45°)
OKLaboklab(33.12% -0.0113 -0.1211)
OKLCHoklch(33.12% 0.122 264.7)
XYZxyz(4.4192, 3.4298, 16.6454)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152F73 #735915
analogous
#155E73 #152F73 #2A1573
triadic
#152F73 #73152F #2F7315
tetradic
#152F73 #73155E #735915 #15732A
square
#152F73 #73155E #735915 #15732A
split-complementary
#152F73 #732A15 #5E7315
monochromatic
#050B1A #0C1A3F #152F73 #1E44A7 #2A5AD8

Accessibility & contrast

On white

12.46
#152F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#152F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152F73
12.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152F73#FFFFFF#000000##FFFFFF
##152F731.0012.461.6912.46
#FFFFFF12.461.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003875
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #152f73;
/* rgb */ color: rgb(21, 47, 115);
/* oklch */ color: oklch(33.1% 0.122 264.7);
Tailwind
colors: {
  custom: {
    50: '#63679c',
    500: '#152f73',
    950: '#000000',
  },
}
SCSS
$custom: #152f73;
$custom-light: #63679c;
$custom-dark: #000000;
JSON
{
  "hex": "#152f73",
  "rgb": {
    "r": 21,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 223.404,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33121,
    "c": 0.12165,
    "h": 264.7
  },
  "luminance": 0.0343
}

Semantic roles & 50–950 ramp

primary
#152F73
secondary
#A98B3B
accent
#BB3CEC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #152F73

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

Preview Lab → · Contrast checker → · Palette generator →

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