#152E65#152E65

#152E65 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.7% C 0.102 H 263.3°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#152E65
RGBrgb(21, 46, 101)
HSLhsl(221, 66%, 24%)
HSVhsv(221, 79%, 40%)
CMYKcmyk(79.2%, 54.5%, 0%, 60.4%)
CIE-LABlab(20.25, 12.18, -35.23)
CIE-LCHlch(20.25, 37.28, 289.08°)
OKLaboklab(31.68% -0.0118 -0.1013)
OKLCHoklch(31.68% 0.102 263.3)
XYZxyz(3.6344, 3.0526, 12.7071)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E65 #654C15
analogous
#155665 #152E65 #241565
triadic
#152E65 #65152E #2E6515
tetradic
#152E65 #651556 #654C15 #156524
square
#152E65 #651556 #654C15 #156524
split-complementary
#152E65 #652415 #566515
monochromatic
#050C19 #0A1732 #152E65 #204598 #2A5CCA

Accessibility & contrast

On white

13.04
#152E65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#152E65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E65
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E65#FFFFFF#000000##FFFFFF
##152E651.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B3567
Deuteranopia (green-blind)
#002D64
Tritanopia (blue-blind)
#003B44
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #152e65;
/* rgb */ color: rgb(21, 46, 101);
/* oklch */ color: oklch(31.7% 0.102 263.3);
Tailwind
colors: {
  custom: {
    50: '#5f6691',
    500: '#152e65',
    950: '#000000',
  },
}
SCSS
$custom: #152e65;
$custom-light: #5f6691;
$custom-dark: #000000;
JSON
{
  "hex": "#152e65",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 101
  },
  "hsl": {
    "h": 221.25,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31676,
    "c": 0.10204,
    "h": 263.3
  },
  "luminance": 0.03053
}

Semantic roles & 50–950 ramp

primary
#152E65
secondary
#9C7D3A
accent
#B43FE9
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #152E65

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

Preview Lab → · Contrast checker → · Palette generator →

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