#152467#152467

#152467 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.6% C 0.119 H 268.3°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#152467
RGBrgb(21, 36, 103)
HSLhsl(229, 66%, 24%)
HSVhsv(229, 80%, 40%)
CMYKcmyk(79.6%, 65%, 0%, 59.6%)
CIE-LABlab(17.46, 20.32, -41.08)
CIE-LCHlch(17.46, 45.83, 296.32°)
OKLaboklab(29.63% -0.0035 -0.1187)
OKLCHoklch(29.63% 0.119 268.3)
XYZxyz(3.3875, 2.4001, 13.1141)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152467 #675815
analogous
#154D67 #152467 #2F1567
triadic
#152467 #671524 #246715
tetradic
#152467 #67154D #675815 #15672F
square
#152467 #67154D #675815 #15672F
split-complementary
#152467 #672F15 #4D6715
monochromatic
#050919 #0B1234 #152467 #1F369A #2A48CD

Accessibility & contrast

On white

14.19
#152467 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#152467 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152467
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152467#FFFFFF#000000##FFFFFF
##1524671.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#002766
Tritanopia (blue-blind)
#003541
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #152467;
/* rgb */ color: rgb(21, 36, 103);
/* oklch */ color: oklch(29.6% 0.119 268.3);
Tailwind
colors: {
  custom: {
    50: '#615e93',
    500: '#152467',
    950: '#000000',
  },
}
SCSS
$custom: #152467;
$custom-light: #615e93;
$custom-dark: #000000;
JSON
{
  "hex": "#152467",
  "rgb": {
    "r": 21,
    "g": 36,
    "b": 103
  },
  "hsl": {
    "h": 229.024,
    "s": 66.129,
    "l": 24.314
  },
  "oklch": {
    "l": 0.2963,
    "c": 0.11876,
    "h": 268.3
  },
  "luminance": 0.024
}

Semantic roles & 50–950 ramp

primary
#152467
secondary
#9E8C3A
accent
#CA3FE9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #152467

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

Preview Lab → · Contrast checker → · Palette generator →

#152467 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva