#152243#152243

#152243 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.0% C 0.065 H 265.9°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#152243
RGBrgb(21, 34, 67)
HSLhsl(223, 52%, 17%)
HSVhsv(223, 69%, 26%)
CMYKcmyk(68.7%, 49.3%, 0%, 73.7%)
CIE-LABlab(13.88, 6.78, -22.59)
CIE-LCHlch(13.88, 23.59, 286.70°)
OKLaboklab(25.99% -0.0046 -0.0644)
OKLCHoklch(25.99% 0.065 265.9)
XYZxyz(1.8941, 1.7086, 5.5391)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152243 #433615
analogous
#153943 #152243 #1F1543
triadic
#152243 #431522 #224315
tetradic
#152243 #431539 #433615 #15431F
square
#152243 #431539 #433615 #15431F
split-complementary
#152243 #431F15 #394315
monochromatic
#070C17 #070C17 #152243 #243A72 #3251A0

Accessibility & contrast

On white

15.65
#152243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#152243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152243
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152243#FFFFFF#000000##FFFFFF
##1522431.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132644
Deuteranopia (green-blind)
#0C2142
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #152243;
/* rgb */ color: rgb(21, 34, 67);
/* oklch */ color: oklch(26.0% 0.065 265.9);
Tailwind
colors: {
  custom: {
    50: '#585c77',
    500: '#152243',
    950: '#000000',
  },
}
SCSS
$custom: #152243;
$custom-light: #585c77;
$custom-dark: #000000;
JSON
{
  "hex": "#152243",
  "rgb": {
    "r": 21,
    "g": 34,
    "b": 67
  },
  "hsl": {
    "h": 223.043,
    "s": 52.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.25991,
    "c": 0.06457,
    "h": 265.9
  },
  "luminance": 0.01709
}

Semantic roles & 50–950 ramp

primary
#152243
secondary
#7B6839
accent
#B34CDC
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030408
muted
#78797B

Preview Lab

Preview with #152243

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

Preview Lab → · Contrast checker → · Palette generator →

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