#252DA2#252DA2

#252DA2 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.1% C 0.184 H 270.9°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#252DA2
RGBrgb(37, 45, 162)
HSLhsl(236, 63%, 39%)
HSVhsv(236, 77%, 64%)
CMYKcmyk(77.2%, 72.2%, 0%, 36.5%)
CIE-LABlab(26.38, 38.43, -63.51)
CIE-LCHlch(26.38, 74.24, 301.18°)
OKLaboklab(38.13% 0.003 -0.1839)
OKLCHoklch(38.13% 0.184 270.9)
XYZxyz(8.2207, 4.8778, 34.6837)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252DA2 #A29A25
analogous
#256CA2 #252DA2 #5C25A2
triadic
#252DA2 #A2252D #2DA225
tetradic
#252DA2 #A2256C #A29A25 #25A25C
square
#252DA2 #A2256C #A29A25 #25A25C
split-complementary
#252DA2 #A25C25 #6CA225
monochromatic
#0E113E #1A1F70 #252DA2 #343ED1 #656DDC

Accessibility & contrast

On white

10.63
#252DA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#252DA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252DA2
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252DA2#FFFFFF#000000##FFFFFF
##252DA21.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A5
Deuteranopia (green-blind)
#0038A0
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #252da2;
/* rgb */ color: rgb(37, 45, 162);
/* oklch */ color: oklch(38.1% 0.184 270.9);
Tailwind
colors: {
  custom: {
    50: '#7567bf',
    500: '#252da2',
    950: '#000000',
  },
}
SCSS
$custom: #252da2;
$custom-light: #7567bf;
$custom-dark: #000000;
JSON
{
  "hex": "#252da2",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 162
  },
  "hsl": {
    "h": 236.16,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.38133,
    "c": 0.18389,
    "h": 270.9
  },
  "luminance": 0.04879
}

Semantic roles & 50–950 ramp

primary
#252DA2
secondary
#C2BB61
accent
#DB42E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #252DA2

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

Preview Lab → · Contrast checker → · Palette generator →

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