#252CAF#252CAF

#252CAF is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.4% C 0.201 H 270.4°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#252CAF
RGBrgb(37, 44, 175)
HSLhsl(237, 65%, 42%)
HSVhsv(237, 79%, 69%)
CMYKcmyk(78.9%, 74.9%, 0%, 31.4%)
CIE-LABlab(27.54, 43.53, -69.44)
CIE-LCHlch(27.54, 81.96, 302.08°)
OKLaboklab(39.37% 0.0014 -0.2011)
OKLCHoklch(39.37% 0.201 270.4)
XYZxyz(9.3989, 5.2888, 41.0746)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252CAF #AFA825
analogous
#2571AF #252CAF #6325AF
triadic
#252CAF #AF252C #2CAF25
tetradic
#252CAF #AF2571 #AFA825 #25AF63
square
#252CAF #AF2571 #AFA825 #25AF63
split-complementary
#252CAF #AF6325 #71AF25
monochromatic
#10134A #1A1F7C #252CAF #3C43D6 #6E74E0

Accessibility & contrast

On white

10.20
#252CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#252CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252CAF
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252CAF#FFFFFF#000000##FFFFFF
##252CAF1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252caf;
/* rgb */ color: rgb(37, 44, 175);
/* oklch */ color: oklch(39.4% 0.201 270.4);
Tailwind
colors: {
  custom: {
    50: '#7867c8',
    500: '#252caf',
    950: '#000000',
  },
}
SCSS
$custom: #252caf;
$custom-light: #7867c8;
$custom-dark: #000000;
JSON
{
  "hex": "#252caf",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 236.957,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39368,
    "c": 0.20112,
    "h": 270.4
  },
  "luminance": 0.0529
}

Semantic roles & 50–950 ramp

primary
#252CAF
secondary
#C7C269
accent
#E040E8
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #252CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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