#152E68#152E68

#152E68 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.107 H 263.8°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#152E68
RGBrgb(21, 46, 104)
HSLhsl(222, 66%, 25%)
HSVhsv(222, 80%, 41%)
CMYKcmyk(79.8%, 55.8%, 0%, 59.2%)
CIE-LABlab(20.49, 13.45, -36.81)
CIE-LCHlch(20.49, 39.19, 290.07°)
OKLaboklab(31.93% -0.0115 -0.106)
OKLCHoklch(31.93% 0.107 263.8)
XYZxyz(3.7841, 3.1125, 13.4954)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152E68 #684F15
analogous
#155868 #152E68 #261568
triadic
#152E68 #68152E #2E6815
tetradic
#152E68 #681558 #684F15 #156826
square
#152E68 #681558 #684F15 #156826
split-complementary
#152E68 #682615 #586815
monochromatic
#050B19 #0B1735 #152E68 #1F459B #2A5BCE

Accessibility & contrast

On white

12.94
#152E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#152E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152E68
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152E68#FFFFFF#000000##FFFFFF
##152E681.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05356A
Deuteranopia (green-blind)
#002E67
Tritanopia (blue-blind)
#003C46
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #152e68;
/* rgb */ color: rgb(21, 46, 104);
/* oklch */ color: oklch(31.9% 0.107 263.8);
Tailwind
colors: {
  custom: {
    50: '#606694',
    500: '#152e68',
    950: '#000000',
  },
}
SCSS
$custom: #152e68;
$custom-light: #606694;
$custom-dark: #000000;
JSON
{
  "hex": "#152e68",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 104
  },
  "hsl": {
    "h": 221.928,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.3193,
    "c": 0.1066,
    "h": 263.8
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#152E68
secondary
#9F803A
accent
#B63EE9
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #152E68

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

Preview Lab → · Contrast checker → · Palette generator →

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