#252DA9#252DA9

#252DA9 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.193 H 270.6°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#252DA9
RGBrgb(37, 45, 169)
HSLhsl(236, 64%, 40%)
HSVhsv(236, 78%, 66%)
CMYKcmyk(78.1%, 73.4%, 0%, 33.7%)
CIE-LABlab(27.11, 40.88, -66.54)
CIE-LCHlch(27.11, 78.10, 301.56°)
OKLaboklab(38.87% 0.002 -0.1927)
OKLCHoklch(38.87% 0.193 270.6)
XYZxyz(8.8603, 5.1337, 38.0524)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252DA9 #A9A125
analogous
#256FA9 #252DA9 #5F25A9
triadic
#252DA9 #A9252D #2DA925
tetradic
#252DA9 #A9256F #A9A125 #25A95F
square
#252DA9 #A9256F #A9A125 #25A95F
split-complementary
#252DA9 #A95F25 #6FA925
monochromatic
#0F1245 #1A2077 #252DA9 #3841D3 #6A71DE

Accessibility & contrast

On white

10.36
#252DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#252DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252DA9
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252DA9#FFFFFF#000000##FFFFFF
##252DA91.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#003AA7
Tritanopia (blue-blind)
#005168
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #252da9;
/* rgb */ color: rgb(37, 45, 169);
/* oklch */ color: oklch(38.9% 0.193 270.6);
Tailwind
colors: {
  custom: {
    50: '#7767c4',
    500: '#252da9',
    950: '#000000',
  },
}
SCSS
$custom: #252da9;
$custom-light: #7767c4;
$custom-dark: #000000;
JSON
{
  "hex": "#252da9",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 169
  },
  "hsl": {
    "h": 236.364,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38872,
    "c": 0.19271,
    "h": 270.6
  },
  "luminance": 0.05135
}

Semantic roles & 50–950 ramp

primary
#252DA9
secondary
#C4BF65
accent
#DD41E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #252DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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