#252DA6#252DA6

#252DA6 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.6% C 0.189 H 270.7°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#252DA6
RGBrgb(37, 45, 166)
HSLhsl(236, 64%, 40%)
HSVhsv(236, 78%, 65%)
CMYKcmyk(77.7%, 72.9%, 0%, 34.9%)
CIE-LABlab(26.80, 39.84, -65.25)
CIE-LCHlch(26.80, 76.45, 301.40°)
OKLaboklab(38.55% 0.0024 -0.1889)
OKLCHoklch(38.55% 0.189 270.7)
XYZxyz(8.5819, 5.0223, 36.5861)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252DA6 #A69E25
analogous
#256EA6 #252DA6 #5E25A6
triadic
#252DA6 #A6252D #2DA625
tetradic
#252DA6 #A6256E #A69E25 #25A65E
square
#252DA6 #A6256E #A69E25 #25A65E
split-complementary
#252DA6 #A65E25 #6EA625
monochromatic
#0F1242 #1A1F74 #252DA6 #3640D2 #686FDD

Accessibility & contrast

On white

10.48
#252DA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#252DA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252DA6
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252DA6#FFFFFF#000000##FFFFFF
##252DA61.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AA
Deuteranopia (green-blind)
#0039A4
Tritanopia (blue-blind)
#005066
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #252da6;
/* rgb */ color: rgb(37, 45, 166);
/* oklch */ color: oklch(38.6% 0.189 270.7);
Tailwind
colors: {
  custom: {
    50: '#7667c2',
    500: '#252da6',
    950: '#000000',
  },
}
SCSS
$custom: #252da6;
$custom-light: #7667c2;
$custom-dark: #000000;
JSON
{
  "hex": "#252da6",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 166
  },
  "hsl": {
    "h": 236.279,
    "s": 63.547,
    "l": 39.804
  },
  "oklch": {
    "l": 0.38554,
    "c": 0.18896,
    "h": 270.7
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

primary
#252DA6
secondary
#C3BD64
accent
#DC41E7
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #252DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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