#152C6F#152C6F

#152C6F is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.1% C 0.120 H 265.6°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#152C6F
RGBrgb(21, 44, 111)
HSLhsl(225, 68%, 26%)
HSVhsv(225, 81%, 44%)
CMYKcmyk(81.1%, 60.4%, 0%, 56.5%)
CIE-LABlab(20.47, 17.84, -41.37)
CIE-LCHlch(20.47, 45.05, 293.33°)
OKLaboklab(32.1% -0.0093 -0.1194)
OKLCHoklch(32.1% 0.12 265.6)
XYZxyz(4.0782, 3.1080, 15.4208)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C6F #6F5815
analogous
#15596F #152C6F #2B156F
triadic
#152C6F #6F152C #2C6F15
tetradic
#152C6F #6F1559 #6F5815 #156F2B
square
#152C6F #6F1559 #6F5815 #156F2B
split-complementary
#152C6F #6F2B15 #596F15
monochromatic
#050A1A #0B183C #152C6F #1F40A2 #2855D6

Accessibility & contrast

On white

12.95
#152C6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#152C6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C6F
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C6F#FFFFFF#000000##FFFFFF
##152C6F1.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #152c6f;
/* rgb */ color: rgb(21, 44, 111);
/* oklch */ color: oklch(32.1% 0.120 265.6);
Tailwind
colors: {
  custom: {
    50: '#626499',
    500: '#152c6f',
    950: '#000000',
  },
}
SCSS
$custom: #152c6f;
$custom-light: #626499;
$custom-dark: #000000;
JSON
{
  "hex": "#152c6f",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 111
  },
  "hsl": {
    "h": 224.667,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.32099,
    "c": 0.1198,
    "h": 265.6
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#152C6F
secondary
#A58A3A
accent
#BF3DEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #152C6F

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

Preview Lab → · Contrast checker → · Palette generator →

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