#152E6E#152E6E

#152E6E is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.5% C 0.116 H 264.6°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#152E6E
RGBrgb(21, 46, 110)
HSLhsl(223, 68%, 26%)
HSVhsv(223, 81%, 43%)
CMYKcmyk(80.9%, 58.2%, 0%, 56.9%)
CIE-LABlab(20.98, 15.97, -39.90)
CIE-LCHlch(20.98, 42.98, 291.82°)
OKLaboklab(32.45% -0.0109 -0.1151)
OKLCHoklch(32.45% 0.116 264.6)
XYZxyz(4.0997, 3.2387, 15.1579)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E6E #6E5515
analogous
#155A6E #152E6E #28156E
triadic
#152E6E #6E152E #2E6E15
tetradic
#152E6E #6E155A #6E5515 #156E28
square
#152E6E #6E155A #6E5515 #156E28
split-complementary
#152E6E #6E2815 #5A6E15
monochromatic
#050B1A #0B193B #152E6E #1F43A1 #2959D5

Accessibility & contrast

On white

12.74
#152E6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#152E6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E6E
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E6E#FFFFFF#000000##FFFFFF
##152E6E1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#003E49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #152e6e;
/* rgb */ color: rgb(21, 46, 110);
/* oklch */ color: oklch(32.5% 0.116 264.6);
Tailwind
colors: {
  custom: {
    50: '#626698',
    500: '#152e6e',
    950: '#000000',
  },
}
SCSS
$custom: #152e6e;
$custom-light: #626698;
$custom-dark: #000000;
JSON
{
  "hex": "#152e6e",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 110
  },
  "hsl": {
    "h": 223.146,
    "s": 67.939,
    "l": 25.686
  },
  "oklch": {
    "l": 0.32452,
    "c": 0.11561,
    "h": 264.6
  },
  "luminance": 0.03239
}

Semantic roles & 50–950 ramp

primary
#152E6E
secondary
#A4873A
accent
#BA3DEB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #152E6E

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

Preview Lab → · Contrast checker → · Palette generator →

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