#252CAE#252CAE

#252CAE is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.200 H 270.5°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#252CAE
RGBrgb(37, 44, 174)
HSLhsl(237, 65%, 41%)
HSVhsv(237, 79%, 68%)
CMYKcmyk(78.7%, 74.7%, 0%, 31.8%)
CIE-LABlab(27.43, 43.19, -69.02)
CIE-LCHlch(27.43, 81.42, 302.04°)
OKLaboklab(39.26% 0.0016 -0.1999)
OKLCHoklch(39.26% 0.2 270.5)
XYZxyz(9.3010, 5.2496, 40.5593)
Luminance0.0525 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252CAE #AEA725
analogous
#2571AE #252CAE #6325AE
triadic
#252CAE #AE252C #2CAE25
tetradic
#252CAE #AE2571 #AEA725 #25AE63
square
#252CAE #AE2571 #AEA725 #25AE63
split-complementary
#252CAE #AE6325 #71AE25
monochromatic
#101249 #1A1F7C #252CAE #3B43D5 #6D73E0

Accessibility & contrast

On white

10.24
#252CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#252CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252CAE
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252CAE#FFFFFF#000000##FFFFFF
##252CAE1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252cae;
/* rgb */ color: rgb(37, 44, 174);
/* oklch */ color: oklch(39.3% 0.200 270.5);
Tailwind
colors: {
  custom: {
    50: '#7867c7',
    500: '#252cae',
    950: '#000000',
  },
}
SCSS
$custom: #252cae;
$custom-light: #7867c7;
$custom-dark: #000000;
JSON
{
  "hex": "#252cae",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 236.934,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.39259,
    "c": 0.19989,
    "h": 270.5
  },
  "luminance": 0.05251
}

Semantic roles & 50–950 ramp

primary
#252CAE
secondary
#C6C268
accent
#DF40E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #252CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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