#152D61#152D61

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

Color values

HEX#152D61
RGBrgb(21, 45, 97)
HSLhsl(221, 64%, 23%)
HSVhsv(221, 78%, 38%)
CMYKcmyk(78.4%, 53.6%, 0%, 62%)
CIE-LABlab(19.63, 11.22, -33.61)
CIE-LCHlch(19.63, 35.43, 288.47°)
OKLaboklab(31.11% -0.0114 -0.0966)
OKLCHoklch(31.11% 0.097 263.2)
XYZxyz(3.4045, 2.8989, 11.6871)
Luminance0.0290 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152D61 #614915
analogous
#155361 #152D61 #231561
triadic
#152D61 #61152D #2D6115
tetradic
#152D61 #611553 #614915 #156123
square
#152D61 #611553 #614915 #156123
split-complementary
#152D61 #612315 #536115
monochromatic
#050C19 #0A162F #152D61 #204493 #2B5CC6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##152D61#FFFFFF#000000##FFFFFF
##152D611.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)
#0E3363
Deuteranopia (green-blind)
#002C60
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #152d61;
/* rgb */ color: rgb(21, 45, 97);
/* oklch */ color: oklch(31.1% 0.097 263.2);
Tailwind
colors: {
  custom: {
    50: '#5e658e',
    500: '#152d61',
    950: '#000000',
  },
}
SCSS
$custom: #152d61;
$custom-light: #5e658e;
$custom-dark: #000000;
JSON
{
  "hex": "#152d61",
  "rgb": {
    "r": 21,
    "g": 45,
    "b": 97
  },
  "hsl": {
    "h": 221.053,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.31106,
    "c": 0.09728,
    "h": 263.2
  },
  "luminance": 0.02899
}

Semantic roles & 50–950 ramp

primary
#152D61
secondary
#987A3A
accent
#B340E7
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #152D61

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

Preview Lab → · Contrast checker → · Palette generator →

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