#252EC4#252EC4

#252EC4 is a dark, highly saturated blue. Relative luminance 0.063; OKLCH L 41.9% C 0.224 H 269.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#252EC4
RGBrgb(37, 46, 196)
HSLhsl(237, 68%, 46%)
HSVhsv(237, 81%, 77%)
CMYKcmyk(81.1%, 76.5%, 0%, 23.1%)
CIE-LABlab(30.23, 49.44, -77.43)
CIE-LCHlch(30.23, 91.87, 302.56°)
OKLaboklab(41.95% -0.0026 -0.2243)
OKLCHoklch(41.95% 0.224 269.3)
XYZxyz(11.7003, 6.3315, 52.8193)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252EC4 #C4BB25
analogous
#257DC4 #252EC4 #6B25C4
triadic
#252EC4 #C4252E #2EC425
tetradic
#252EC4 #C4257D #C4BB25 #25C46B
square
#252EC4 #C4257D #C4BB25 #25C46B
split-complementary
#252EC4 #C46B25 #7DC425
monochromatic
#12165D #1B2291 #252EC4 #4952DD #7D83E6

Accessibility & contrast

On white

9.26
#252EC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#252EC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252EC4
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252EC4#FFFFFF#000000##FFFFFF
##252EC41.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FC8
Deuteranopia (green-blind)
#003FC1
Tritanopia (blue-blind)
#005B78
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #252ec4;
/* rgb */ color: rgb(37, 46, 196);
/* oklch */ color: oklch(41.9% 0.224 269.3);
Tailwind
colors: {
  custom: {
    50: '#7e69d7',
    500: '#252ec4',
    950: '#000000',
  },
}
SCSS
$custom: #252ec4;
$custom-light: #7e69d7;
$custom-dark: #000000;
JSON
{
  "hex": "#252ec4",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 196
  },
  "hsl": {
    "h": 236.604,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.4195,
    "c": 0.22434,
    "h": 269.3
  },
  "luminance": 0.06333
}

Semantic roles & 50–950 ramp

primary
#252EC4
secondary
#CFCA76
accent
#E13DEB
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #252EC4

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

Preview Lab → · Contrast checker → · Palette generator →

#252EC4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva