#152C59#152C59

#152C59 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.086 H 262.2°. Best body text is #FFFFFF at 13.67:1 contrast (WCAG AA passes).

Color values

HEX#152C59
RGBrgb(21, 44, 89)
HSLhsl(220, 62%, 22%)
HSVhsv(220, 76%, 35%)
CMYKcmyk(76.4%, 50.6%, 0%, 65.1%)
CIE-LABlab(18.72, 8.57, -29.79)
CIE-LCHlch(18.72, 31.00, 286.06°)
OKLaboklab(30.22% -0.0117 -0.0854)
OKLCHoklch(30.22% 0.086 262.2)
XYZxyz(3.0125, 2.6817, 9.8081)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152C59 #594215
analogous
#154E59 #152C59 #201559
triadic
#152C59 #59152C #2C5915
tetradic
#152C59 #59154E #594215 #155920
square
#152C59 #59154E #594215 #155920
split-complementary
#152C59 #592015 #4E5915
monochromatic
#060C19 #091427 #152C59 #21448B #2C5DBC

Accessibility & contrast

On white

13.67
#152C59 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#152C59 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152C59
13.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152C59#FFFFFF#000000##FFFFFF
##152C591.0013.671.5413.67
#FFFFFF13.671.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14315B
Deuteranopia (green-blind)
#052B58
Tritanopia (blue-blind)
#00373E
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152c59;
/* rgb */ color: rgb(21, 44, 89);
/* oklch */ color: oklch(30.2% 0.086 262.2);
Tailwind
colors: {
  custom: {
    50: '#5c6488',
    500: '#152c59',
    950: '#000000',
  },
}
SCSS
$custom: #152c59;
$custom-light: #5c6488;
$custom-dark: #000000;
JSON
{
  "hex": "#152c59",
  "rgb": {
    "r": 21,
    "g": 44,
    "b": 89
  },
  "hsl": {
    "h": 219.706,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30217,
    "c": 0.08618,
    "h": 262.2
  },
  "luminance": 0.02682
}

Semantic roles & 50–950 ramp

primary
#152C59
secondary
#917339
accent
#AE43E5
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050B
muted
#79797C

Preview Lab

Preview with #152C59

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

Preview Lab → · Contrast checker → · Palette generator →

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