#152B6F#152B6F

#152B6F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.121 H 266.0°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#152B6F
RGBrgb(21, 43, 111)
HSLhsl(225, 68%, 26%)
HSVhsv(225, 81%, 44%)
CMYKcmyk(81.1%, 61.3%, 0%, 56.5%)
CIE-LABlab(20.18, 18.56, -41.84)
CIE-LCHlch(20.18, 45.77, 293.92°)
OKLaboklab(31.88% -0.0085 -0.1208)
OKLCHoklch(31.88% 0.121 266)
XYZxyz(4.0414, 3.0344, 15.4086)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152B6F #6F5915
analogous
#15586F #152B6F #2C156F
triadic
#152B6F #6F152B #2B6F15
tetradic
#152B6F #6F1558 #6F5915 #156F2C
square
#152B6F #6F1558 #6F5915 #156F2C
split-complementary
#152B6F #6F2C15 #586F15
monochromatic
#050A1A #0B173C #152B6F #1F3FA2 #2853D6

Accessibility & contrast

On white

13.07
#152B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#152B6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152B6F
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152B6F#FFFFFF#000000##FFFFFF
##152B6F1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #152b6f;
/* rgb */ color: rgb(21, 43, 111);
/* oklch */ color: oklch(31.9% 0.121 266.0);
Tailwind
colors: {
  custom: {
    50: '#626399',
    500: '#152b6f',
    950: '#000000',
  },
}
SCSS
$custom: #152b6f;
$custom-light: #626399;
$custom-dark: #000000;
JSON
{
  "hex": "#152b6f",
  "rgb": {
    "r": 21,
    "g": 43,
    "b": 111
  },
  "hsl": {
    "h": 225.333,
    "s": 68.182,
    "l": 25.882
  },
  "oklch": {
    "l": 0.31882,
    "c": 0.12114,
    "h": 266
  },
  "luminance": 0.03035
}

Semantic roles & 50–950 ramp

primary
#152B6F
secondary
#A58B3A
accent
#C03DEB
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #152B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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