#252DC4#252DC4

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

Color values

HEX#252DC4
RGBrgb(37, 45, 196)
HSLhsl(237, 68%, 46%)
HSVhsv(237, 81%, 77%)
CMYKcmyk(81.1%, 77%, 0%, 23.1%)
CIE-LABlab(30.04, 49.98, -77.75)
CIE-LCHlch(30.04, 92.43, 302.74°)
OKLaboklab(41.82% -0.0023 -0.2252)
OKLCHoklch(41.82% 0.225 269.4)
XYZxyz(11.6617, 6.2542, 52.8064)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252DC4 #C4BC25
analogous
#257CC4 #252DC4 #6C25C4
triadic
#252DC4 #C4252D #2DC425
tetradic
#252DC4 #C4257C #C4BC25 #25C46C
square
#252DC4 #C4257C #C4BC25 #25C46C
split-complementary
#252DC4 #C46C25 #7CC425
monochromatic
#12155D #1B2191 #252DC4 #4951DD #7D82E6

Accessibility & contrast

On white

9.33
#252DC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252DC4
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252DC4#FFFFFF#000000##FFFFFF
##252DC41.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252dc4;
/* rgb */ color: rgb(37, 45, 196);
/* oklch */ color: oklch(41.8% 0.225 269.4);
Tailwind
colors: {
  custom: {
    50: '#7e68d7',
    500: '#252dc4',
    950: '#000000',
  },
}
SCSS
$custom: #252dc4;
$custom-light: #7e68d7;
$custom-dark: #000000;
JSON
{
  "hex": "#252dc4",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 196
  },
  "hsl": {
    "h": 236.981,
    "s": 68.24,
    "l": 45.686
  },
  "oklch": {
    "l": 0.41817,
    "c": 0.22524,
    "h": 269.4
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #252DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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