#152E6C#152E6C

#152E6C is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.3% C 0.113 H 264.4°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#152E6C
RGBrgb(21, 46, 108)
HSLhsl(223, 67%, 25%)
HSVhsv(223, 81%, 42%)
CMYKcmyk(80.6%, 57.4%, 0%, 57.6%)
CIE-LABlab(20.81, 15.13, -38.88)
CIE-LCHlch(20.81, 41.72, 291.27°)
OKLaboklab(32.28% -0.0111 -0.1121)
OKLCHoklch(32.28% 0.113 264.4)
XYZxyz(3.9921, 3.1957, 14.5909)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E6C #6C5315
analogous
#15596C #152E6C #28156C
triadic
#152E6C #6C152E #2E6C15
tetradic
#152E6C #6C1559 #6C5315 #156C28
square
#152E6C #6C1559 #6C5315 #156C28
split-complementary
#152E6C #6C2815 #596C15
monochromatic
#050B1A #0B1839 #152E6C #1F449F #295AD2

Accessibility & contrast

On white

12.81
#152E6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#152E6C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E6C
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E6C#FFFFFF#000000##FFFFFF
##152E6C1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00366E
Deuteranopia (green-blind)
#002E6B
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #152e6c;
/* rgb */ color: rgb(21, 46, 108);
/* oklch */ color: oklch(32.3% 0.113 264.4);
Tailwind
colors: {
  custom: {
    50: '#616697',
    500: '#152e6c',
    950: '#000000',
  },
}
SCSS
$custom: #152e6c;
$custom-light: #616697;
$custom-dark: #000000;
JSON
{
  "hex": "#152e6c",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 108
  },
  "hsl": {
    "h": 222.759,
    "s": 67.442,
    "l": 25.294
  },
  "oklch": {
    "l": 0.32276,
    "c": 0.11263,
    "h": 264.4
  },
  "luminance": 0.03196
}

Semantic roles & 50–950 ramp

primary
#152E6C
secondary
#A3853A
accent
#B93DEA
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050D
muted
#7A7A7E

Preview Lab

Preview with #152E6C

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

Preview Lab → · Contrast checker → · Palette generator →

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