#252CC6#252CC6

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

Color values

HEX#252CC6
RGBrgb(37, 44, 198)
HSLhsl(237, 69%, 46%)
HSVhsv(237, 81%, 78%)
CMYKcmyk(81.3%, 77.8%, 0%, 22.4%)
CIE-LABlab(30.08, 51.16, -78.85)
CIE-LCHlch(30.08, 94.00, 302.98°)
OKLaboklab(41.91% -0.0024 -0.2284)
OKLCHoklch(41.91% 0.228 269.4)
XYZxyz(11.8532, 6.2705, 54.0007)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252CC6 #C6BF25
analogous
#257CC6 #252CC6 #6E25C6
triadic
#252CC6 #C6252C #2CC625
tetradic
#252CC6 #C6257C #C6BF25 #25C66E
square
#252CC6 #C6257C #C6BF25 #25C66E
split-complementary
#252CC6 #C66E25 #7CC625
monochromatic
#12155F #1B2192 #252CC6 #4B51DD #7E83E7

Accessibility & contrast

On white

9.32
#252CC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#252CC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252CC6
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252CC6#FFFFFF#000000##FFFFFF
##252CC61.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252cc6;
/* rgb */ color: rgb(37, 44, 198);
/* oklch */ color: oklch(41.9% 0.228 269.4);
Tailwind
colors: {
  custom: {
    50: '#7e68d9',
    500: '#252cc6',
    950: '#000000',
  },
}
SCSS
$custom: #252cc6;
$custom-light: #7e68d9;
$custom-dark: #000000;
JSON
{
  "hex": "#252cc6",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 198
  },
  "hsl": {
    "h": 237.391,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.4191,
    "c": 0.22843,
    "h": 269.4
  },
  "luminance": 0.06272
}

Semantic roles & 50–950 ramp

primary
#252CC6
secondary
#CFCC77
accent
#E43CEB
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #252CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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