#152245#152245

#152245 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.1% C 0.068 H 266.4°. Best body text is #FFFFFF at 15.59:1 contrast (WCAG AA passes).

Color values

HEX#152245
RGBrgb(21, 34, 69)
HSLhsl(224, 53%, 18%)
HSVhsv(224, 70%, 27%)
CMYKcmyk(69.6%, 50.7%, 0%, 72.9%)
CIE-LABlab(14.02, 7.61, -23.76)
CIE-LCHlch(14.02, 24.94, 287.76°)
OKLaboklab(26.15% -0.0042 -0.0678)
OKLCHoklch(26.15% 0.068 266.4)
XYZxyz(1.9551, 1.7330, 5.8605)
Luminance0.0173 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152245 #453815
analogous
#153A45 #152245 #201545
triadic
#152245 #451522 #224515
tetradic
#152245 #45153A #453815 #154520
square
#152245 #45153A #453815 #154520
split-complementary
#152245 #452015 #3A4515
monochromatic
#070C17 #070C17 #152245 #233974 #3250A3

Accessibility & contrast

On white

15.59
#152245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#152245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152245
15.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152245#FFFFFF#000000##FFFFFF
##1522451.0015.591.3515.59
#FFFFFF15.591.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112646
Deuteranopia (green-blind)
#0A2244
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #152245;
/* rgb */ color: rgb(21, 34, 69);
/* oklch */ color: oklch(26.1% 0.068 266.4);
Tailwind
colors: {
  custom: {
    50: '#585c79',
    500: '#152245',
    950: '#000000',
  },
}
SCSS
$custom: #152245;
$custom-light: #585c79;
$custom-dark: #000000;
JSON
{
  "hex": "#152245",
  "rgb": {
    "r": 21,
    "g": 34,
    "b": 69
  },
  "hsl": {
    "h": 223.75,
    "s": 53.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.26145,
    "c": 0.06795,
    "h": 266.4
  },
  "luminance": 0.01733
}

Semantic roles & 50–950 ramp

primary
#152245
secondary
#7D6A39
accent
#B54BDD
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #152245

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

Preview Lab → · Contrast checker → · Palette generator →

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