#152C65#152C65

#152C65 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.105 H 264.5°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#152C65
RGBrgb(21, 44, 101)
HSLhsl(223, 66%, 24%)
HSVhsv(223, 79%, 40%)
CMYKcmyk(79.2%, 56.4%, 0%, 60.4%)
CIE-LABlab(19.64, 13.65, -36.23)
CIE-LCHlch(19.64, 38.71, 290.64°)
OKLaboklab(31.21% -0.01 -0.1043)
OKLCHoklch(31.21% 0.105 264.5)
XYZxyz(3.5581, 2.9000, 12.6816)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C65 #654E15
analogous
#155465 #152C65 #261565
triadic
#152C65 #65152C #2C6515
tetradic
#152C65 #651554 #654E15 #156526
square
#152C65 #651554 #654E15 #156526
split-complementary
#152C65 #652615 #546515
monochromatic
#050B19 #0A1632 #152C65 #204298 #2A58CA

Accessibility & contrast

On white

13.29
#152C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#152C65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C65
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C65#FFFFFF#000000##FFFFFF
##152C651.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033367
Deuteranopia (green-blind)
#002C64
Tritanopia (blue-blind)
#003A44
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #152c65;
/* rgb */ color: rgb(21, 44, 101);
/* oklch */ color: oklch(31.2% 0.105 264.5);
Tailwind
colors: {
  custom: {
    50: '#606491',
    500: '#152c65',
    950: '#000000',
  },
}
SCSS
$custom: #152c65;
$custom-light: #606491;
$custom-dark: #000000;
JSON
{
  "hex": "#152c65",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 101
  },
  "hsl": {
    "h": 222.75,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31209,
    "c": 0.1048,
    "h": 264.5
  },
  "luminance": 0.029
}

Semantic roles & 50–950 ramp

primary
#152C65
secondary
#9C803A
accent
#B83FE9
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #152C65

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

Preview Lab → · Contrast checker → · Palette generator →

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