#152EC0#152EC0

#152EC0 is a dark, highly saturated blue. Relative luminance 0.059; OKLCH L 40.9% C 0.223 H 266.2°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#152EC0
RGBrgb(21, 46, 192)
HSLhsl(231, 80%, 42%)
HSVhsv(231, 89%, 75%)
CMYKcmyk(89.1%, 76%, 0%, 24.7%)
CIE-LABlab(29.20, 47.31, -76.81)
CIE-LCHlch(29.20, 90.21, 301.63°)
OKLaboklab(40.93% -0.0148 -0.2227)
OKLCHoklch(40.93% 0.223 266.2)
XYZxyz(10.7974, 5.9178, 50.4321)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152EC0 #C0A715
analogous
#1584C0 #152EC0 #5215C0
triadic
#152EC0 #C0152E #2EC015
tetradic
#152EC0 #C01584 #C0A715 #15C052
square
#152EC0 #C01584 #C0A715 #15C052
split-complementary
#152EC0 #C05215 #84C015
monochromatic
#091452 #0F2189 #152EC0 #2A46E8 #6276EE

Accessibility & contrast

On white

9.62
#152EC0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#152EC0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152EC0
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152EC0#FFFFFF#000000##FFFFFF
##152EC01.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DC4
Deuteranopia (green-blind)
#003CBD
Tritanopia (blue-blind)
#005A75
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #152ec0;
/* rgb */ color: rgb(21, 46, 192);
/* oklch */ color: oklch(40.9% 0.223 266.2);
Tailwind
colors: {
  custom: {
    50: '#7968d4',
    500: '#152ec0',
    950: '#000000',
  },
}
SCSS
$custom: #152ec0;
$custom-light: #7968d4;
$custom-dark: #000000;
JSON
{
  "hex": "#152ec0",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 192
  },
  "hsl": {
    "h": 231.228,
    "s": 80.282,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40927,
    "c": 0.22322,
    "h": 266.2
  },
  "luminance": 0.05919
}

Semantic roles & 50–950 ramp

primary
#152EC0
secondary
#D2C15F
accent
#DA31F7
background
#F8F6FD
surface
#EFEBFA
border
#CAC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #152EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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