#252FC6#252FC6

#252FC6 is a dark, highly saturated blue. Relative luminance 0.065; OKLCH L 42.3% C 0.226 H 269.2°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#252FC6
RGBrgb(37, 47, 198)
HSLhsl(236, 69%, 46%)
HSVhsv(236, 81%, 78%)
CMYKcmyk(81.3%, 76.3%, 0%, 22.4%)
CIE-LABlab(30.65, 49.56, -77.93)
CIE-LCHlch(30.65, 92.35, 302.46°)
OKLaboklab(42.31% -0.0032 -0.2258)
OKLCHoklch(42.31% 0.226 269.2)
XYZxyz(11.9690, 6.5021, 54.0393)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252FC6 #C6BC25
analogous
#257FC6 #252FC6 #6B25C6
triadic
#252FC6 #C6252F #2FC625
tetradic
#252FC6 #C6257F #C6BC25 #25C66B
square
#252FC6 #C6257F #C6BC25 #25C66B
split-complementary
#252FC6 #C66B25 #7FC625
monochromatic
#12175F #1B2392 #252FC6 #4B54DD #7E85E7

Accessibility & contrast

On white

9.13
#252FC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#252FC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252FC6
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252FC6#FFFFFF#000000##FFFFFF
##252FC61.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050CA
Deuteranopia (green-blind)
#0040C3
Tritanopia (blue-blind)
#005D79
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #252fc6;
/* rgb */ color: rgb(37, 47, 198);
/* oklch */ color: oklch(42.3% 0.226 269.2);
Tailwind
colors: {
  custom: {
    50: '#7e6ad9',
    500: '#252fc6',
    950: '#000000',
  },
}
SCSS
$custom: #252fc6;
$custom-light: #7e6ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#252fc6",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 198
  },
  "hsl": {
    "h": 236.273,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.42306,
    "c": 0.22579,
    "h": 269.2
  },
  "luminance": 0.06504
}

Semantic roles & 50–950 ramp

primary
#252FC6
secondary
#CFCA77
accent
#E03CEB
background
#F8F6FD
surface
#F0EBFB
border
#CBC6D4
text
#0C0615
muted
#7D7A83

Preview Lab

Preview with #252FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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