Vivid Blue#152EFF

#152EFF is a mid, highly saturated blue. Relative luminance 0.093; OKLCH L 48.2% C 0.292 H 265.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Vivid Blue — editorial page

Color values

HEX#152EFF
RGBrgb(21, 46, 255)
HSLhsl(234, 100%, 54%)
HSVhsv(234, 92%, 100%)
CMYKcmyk(91.8%, 82%, 0%, 0%)
CIE-LABlab(36.61, 67.25, -100.65)
CIE-LCHlch(36.61, 121.05, 303.75°)
OKLaboklab(48.24% -0.0226 -0.2916)
OKLCHoklch(48.24% 0.292 265.6)
XYZxyz(19.3300, 9.3308, 95.3706)
Luminance0.0933 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#152EFF #FFE615
analogous
#15A3FF #152EFF #7115FF
triadic
#152EFF #FF152E #2EFF15
tetradic
#152EFF #FF15A3 #FFE615 #15FF71
square
#152EFF #FF15A3 #FFE615 #15FF71
split-complementary
#152EFF #FF7115 #A3FF15
monochromatic
#00109A #0017D7 #152EFF #5265FF #8F9BFF

Accessibility & contrast

On white

7.33
#152EFF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#152EFF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #152EFF
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##152EFF#FFFFFF#000000##FFFFFF
##152EFF1.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062FF
Deuteranopia (green-blind)
#004AFC
Tritanopia (blue-blind)
#00739A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #152eff;
/* rgb */ color: rgb(21, 46, 255);
/* oklch */ color: oklch(48.2% 0.292 265.6);
Tailwind
colors: {
  custom: {
    50: '#8a6cff',
    500: '#152eff',
    950: '#000000',
  },
}
SCSS
$custom: #152eff;
$custom-light: #8a6cff;
$custom-dark: #000000;
JSON
{
  "hex": "#152eff",
  "rgb": {
    "r": 21,
    "g": 46,
    "b": 255
  },
  "hsl": {
    "h": 233.59,
    "s": 100,
    "l": 54.118
  },
  "oklch": {
    "l": 0.48242,
    "c": 0.29246,
    "h": 265.6
  },
  "luminance": 0.09333
}

Semantic roles & 50–950 ramp

primary
#152EFF
secondary
#EADF86
accent
#E829FF
background
#FAF6FF
surface
#F3ECFF
border
#CDC7D7
text
#0F0718
muted
#7F7A86

Preview Lab

Preview with #152EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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