#152C63#152C63

#152C63 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.102 H 264.2°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#152C63
RGBrgb(21, 44, 99)
HSLhsl(222, 65%, 24%)
HSVhsv(222, 79%, 39%)
CMYKcmyk(78.8%, 55.6%, 0%, 61.2%)
CIE-LABlab(19.48, 12.80, -35.17)
CIE-LCHlch(19.48, 37.43, 290.00°)
OKLaboklab(31.04% -0.0103 -0.1012)
OKLCHoklch(31.04% 0.102 264.2)
XYZxyz(3.4613, 2.8613, 12.1718)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C63 #634C15
analogous
#155363 #152C63 #251563
triadic
#152C63 #63152C #2C6315
tetradic
#152C63 #631553 #634C15 #156325
square
#152C63 #631553 #634C15 #156325
split-complementary
#152C63 #632515 #536315
monochromatic
#050B19 #0A1631 #152C63 #204295 #2A59C8

Accessibility & contrast

On white

13.36
#152C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#152C63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C63
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C63#FFFFFF#000000##FFFFFF
##152C631.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073365
Deuteranopia (green-blind)
#002C62
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #152c63;
/* rgb */ color: rgb(21, 44, 99);
/* oklch */ color: oklch(31.0% 0.102 264.2);
Tailwind
colors: {
  custom: {
    50: '#5f6490',
    500: '#152c63',
    950: '#000000',
  },
}
SCSS
$custom: #152c63;
$custom-light: #5f6490;
$custom-dark: #000000;
JSON
{
  "hex": "#152c63",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 99
  },
  "hsl": {
    "h": 222.308,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.31038,
    "c": 0.10174,
    "h": 264.2
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

primary
#152C63
secondary
#9A7E3A
accent
#B640E8
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #152C63

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

Preview Lab → · Contrast checker → · Palette generator →

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