#252CC4#252CC4

#252CC4 is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.7% C 0.226 H 269.5°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#252CC4
RGBrgb(37, 44, 196)
HSLhsl(237, 68%, 46%)
HSVhsv(237, 81%, 77%)
CMYKcmyk(81.1%, 77.6%, 0%, 23.1%)
CIE-LABlab(29.86, 50.52, -78.05)
CIE-LCHlch(29.86, 92.98, 302.91°)
OKLaboklab(41.69% -0.002 -0.2261)
OKLCHoklch(41.69% 0.226 269.5)
XYZxyz(11.6240, 6.1788, 52.7938)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252CC4 #C4BD25
analogous
#257CC4 #252CC4 #6D25C4
triadic
#252CC4 #C4252C #2CC425
tetradic
#252CC4 #C4257C #C4BD25 #25C46D
square
#252CC4 #C4257C #C4BD25 #25C46D
split-complementary
#252CC4 #C46D25 #7CC425
monochromatic
#12155D #1B2091 #252CC4 #4950DD #7D82E6

Accessibility & contrast

On white

9.39
#252CC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#252CC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252CC4
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252CC4#FFFFFF#000000##FFFFFF
##252CC41.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC8
Deuteranopia (green-blind)
#003EC1
Tritanopia (blue-blind)
#005B77
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #252cc4;
/* rgb */ color: rgb(37, 44, 196);
/* oklch */ color: oklch(41.7% 0.226 269.5);
Tailwind
colors: {
  custom: {
    50: '#7e68d7',
    500: '#252cc4',
    950: '#000000',
  },
}
SCSS
$custom: #252cc4;
$custom-light: #7e68d7;
$custom-dark: #000000;
JSON
{
  "hex": "#252cc4",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 196
  },
  "hsl": {
    "h": 237.358,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41686,
    "c": 0.22612,
    "h": 269.5
  },
  "luminance": 0.0618
}

Semantic roles & 50–950 ramp

primary
#252CC4
secondary
#CFCB76
accent
#E33DEB
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #252CC4

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

Preview Lab → · Contrast checker → · Palette generator →

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