#152D67#152D67

#152D67 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.106 H 264.2°. Best body text is #FFFFFF at 13.10:1 contrast (WCAG AA passes).

Color values

HEX#152D67
RGBrgb(21, 45, 103)
HSLhsl(222, 66%, 24%)
HSVhsv(222, 80%, 40%)
CMYKcmyk(79.6%, 56.3%, 0%, 59.6%)
CIE-LABlab(20.10, 13.76, -36.78)
CIE-LCHlch(20.10, 39.27, 290.51°)
OKLaboklab(31.61% -0.0107 -0.1059)
OKLCHoklch(31.61% 0.106 264.2)
XYZxyz(3.6950, 3.0151, 13.2166)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D67 #674F15
analogous
#155667 #152D67 #261567
triadic
#152D67 #67152D #2D6715
tetradic
#152D67 #671556 #674F15 #156726
square
#152D67 #671556 #674F15 #156726
split-complementary
#152D67 #672615 #566715
monochromatic
#050B19 #0B1734 #152D67 #1F439A #2A59CD

Accessibility & contrast

On white

13.10
#152D67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#152D67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152D67
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152D67#FFFFFF#000000##FFFFFF
##152D671.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033469
Deuteranopia (green-blind)
#002D66
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #152d67;
/* rgb */ color: rgb(21, 45, 103);
/* oklch */ color: oklch(31.6% 0.106 264.2);
Tailwind
colors: {
  custom: {
    50: '#606593',
    500: '#152d67',
    950: '#000000',
  },
}
SCSS
$custom: #152d67;
$custom-light: #606593;
$custom-dark: #000000;
JSON
{
  "hex": "#152d67",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 103
  },
  "hsl": {
    "h": 222.439,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.31612,
    "c": 0.10646,
    "h": 264.2
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

primary
#152D67
secondary
#9E813A
accent
#B73FE9
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #152D67

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

Preview Lab → · Contrast checker → · Palette generator →

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