#252FAE#252FAE

#252FAE is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.7% C 0.197 H 270.1°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#252FAE
RGBrgb(37, 47, 174)
HSLhsl(236, 65%, 41%)
HSVhsv(236, 79%, 68%)
CMYKcmyk(78.7%, 73%, 0%, 31.8%)
CIE-LABlab(28.06, 41.43, -67.98)
CIE-LCHlch(28.06, 79.61, 301.36°)
OKLaboklab(39.71% 0.0004 -0.1969)
OKLCHoklch(39.71% 0.197 270.1)
XYZxyz(9.4168, 5.4813, 40.5979)
Luminance0.0548 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252FAE #AEA425
analogous
#2574AE #252FAE #6025AE
triadic
#252FAE #AE252F #2FAE25
tetradic
#252FAE #AE2574 #AEA425 #25AE60
square
#252FAE #AE2574 #AEA425 #25AE60
split-complementary
#252FAE #AE6025 #74AE25
monochromatic
#101449 #1A217C #252FAE #3B46D5 #6D76E0

Accessibility & contrast

On white

10.02
#252FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#252FAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252FAE
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252FAE#FFFFFF#000000##FFFFFF
##252FAE1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B2
Deuteranopia (green-blind)
#003BAC
Tritanopia (blue-blind)
#00536B
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #252fae;
/* rgb */ color: rgb(37, 47, 174);
/* oklch */ color: oklch(39.7% 0.197 270.1);
Tailwind
colors: {
  custom: {
    50: '#7868c7',
    500: '#252fae',
    950: '#000000',
  },
}
SCSS
$custom: #252fae;
$custom-light: #7868c7;
$custom-dark: #000000;
JSON
{
  "hex": "#252fae",
  "rgb": {
    "r": 37,
    "g": 47,
    "b": 174
  },
  "hsl": {
    "h": 235.62,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39709,
    "c": 0.19687,
    "h": 270.1
  },
  "luminance": 0.05482
}

Semantic roles & 50–950 ramp

primary
#252FAE
secondary
#C6C068
accent
#DC40E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #252FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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