#252DAF#252DAF

#252DAF is a dark, highly saturated blue. Relative luminance 0.054; OKLCH L 39.5% C 0.200 H 270.3°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#252DAF
RGBrgb(37, 45, 175)
HSLhsl(237, 65%, 42%)
HSVhsv(237, 79%, 69%)
CMYKcmyk(78.9%, 74.3%, 0%, 31.4%)
CIE-LABlab(27.75, 42.95, -69.10)
CIE-LCHlch(27.75, 81.36, 301.87°)
OKLaboklab(39.51% 0.0011 -0.2001)
OKLCHoklch(39.51% 0.2 270.3)
XYZxyz(9.4366, 5.3642, 41.0872)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252DAF #AFA725
analogous
#2572AF #252DAF #6225AF
triadic
#252DAF #AF252D #2DAF25
tetradic
#252DAF #AF2572 #AFA725 #25AF62
square
#252DAF #AF2572 #AFA725 #25AF62
split-complementary
#252DAF #AF6225 #72AF25
monochromatic
#10134A #1A207C #252DAF #3C44D6 #6E75E0

Accessibility & contrast

On white

10.13
#252DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252DAF
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252DAF#FFFFFF#000000##FFFFFF
##252DAF1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048B3
Deuteranopia (green-blind)
#003BAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #252daf;
/* rgb */ color: rgb(37, 45, 175);
/* oklch */ color: oklch(39.5% 0.200 270.3);
Tailwind
colors: {
  custom: {
    50: '#7867c8',
    500: '#252daf',
    950: '#000000',
  },
}
SCSS
$custom: #252daf;
$custom-light: #7867c8;
$custom-dark: #000000;
JSON
{
  "hex": "#252daf",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 236.522,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39514,
    "c": 0.20012,
    "h": 270.3
  },
  "luminance": 0.05365
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #252DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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