#252DAE#252DAE

#252DAE is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.4% C 0.199 H 270.3°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#252DAE
RGBrgb(37, 45, 174)
HSLhsl(236, 65%, 41%)
HSVhsv(236, 79%, 68%)
CMYKcmyk(78.7%, 74.1%, 0%, 31.8%)
CIE-LABlab(27.64, 42.61, -68.68)
CIE-LCHlch(27.64, 80.82, 301.82°)
OKLaboklab(39.41% 0.0012 -0.1989)
OKLCHoklch(39.41% 0.199 270.3)
XYZxyz(9.3387, 5.3250, 40.5718)
Luminance0.0533 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252DAE #AEA625
analogous
#2572AE #252DAE #6225AE
triadic
#252DAE #AE252D #2DAE25
tetradic
#252DAE #AE2572 #AEA625 #25AE62
square
#252DAE #AE2572 #AEA625 #25AE62
split-complementary
#252DAE #AE6225 #72AE25
monochromatic
#101349 #1A207C #252DAE #3B44D5 #6D74E0

Accessibility & contrast

On white

10.17
#252DAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#252DAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252DAE
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252DAE#FFFFFF#000000##FFFFFF
##252DAE1.0010.172.0710.17
#FFFFFF10.171.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B2
Deuteranopia (green-blind)
#003AAC
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #252dae;
/* rgb */ color: rgb(37, 45, 174);
/* oklch */ color: oklch(39.4% 0.199 270.3);
Tailwind
colors: {
  custom: {
    50: '#7867c7',
    500: '#252dae',
    950: '#000000',
  },
}
SCSS
$custom: #252dae;
$custom-light: #7867c7;
$custom-dark: #000000;
JSON
{
  "hex": "#252dae",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 174
  },
  "hsl": {
    "h": 236.496,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39407,
    "c": 0.19889,
    "h": 270.3
  },
  "luminance": 0.05326
}

Semantic roles & 50–950 ramp

primary
#252DAE
secondary
#C6C168
accent
#DE40E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #252DAE

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

Preview Lab → · Contrast checker → · Palette generator →

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