#152A65#152A65

#152A65 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.108 H 265.6°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#152A65
RGBrgb(21, 42, 101)
HSLhsl(224, 66%, 24%)
HSVhsv(224, 79%, 40%)
CMYKcmyk(79.2%, 58.4%, 0%, 60.4%)
CIE-LABlab(19.03, 15.11, -37.21)
CIE-LCHlch(19.03, 40.16, 292.10°)
OKLaboklab(30.75% -0.0083 -0.1072)
OKLCHoklch(30.75% 0.108 265.6)
XYZxyz(3.4854, 2.7546, 12.6574)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152A65 #655015
analogous
#155265 #152A65 #281565
triadic
#152A65 #65152A #2A6515
tetradic
#152A65 #651552 #655015 #156528
square
#152A65 #651552 #655015 #156528
split-complementary
#152A65 #652815 #526515
monochromatic
#050B19 #0A1532 #152A65 #203F98 #2A54CA

Accessibility & contrast

On white

13.54
#152A65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#152A65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152A65
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152A65#FFFFFF#000000##FFFFFF
##152A651.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#002B64
Tritanopia (blue-blind)
#003843
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #152a65;
/* rgb */ color: rgb(21, 42, 101);
/* oklch */ color: oklch(30.8% 0.108 265.6);
Tailwind
colors: {
  custom: {
    50: '#606391',
    500: '#152a65',
    950: '#000000',
  },
}
SCSS
$custom: #152a65;
$custom-light: #606391;
$custom-dark: #000000;
JSON
{
  "hex": "#152a65",
  "rgb": {
    "r": 21,
    "g": 42,
    "b": 101
  },
  "hsl": {
    "h": 224.25,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30751,
    "c": 0.10756,
    "h": 265.6
  },
  "luminance": 0.02755
}

Semantic roles & 50–950 ramp

primary
#152A65
secondary
#9C823A
accent
#BC3FE9
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #152A65

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

Preview Lab → · Contrast checker → · Palette generator →

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