#252CA9#252CA9

#252CA9 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.194 H 270.7°. Best body text is #FFFFFF at 10.44:1 contrast (WCAG AA passes).

Color values

HEX#252CA9
RGBrgb(37, 44, 169)
HSLhsl(237, 64%, 40%)
HSVhsv(237, 78%, 66%)
CMYKcmyk(78.1%, 74%, 0%, 33.7%)
CIE-LABlab(26.90, 41.47, -66.89)
CIE-LCHlch(26.90, 78.71, 301.80°)
OKLaboklab(38.72% 0.0024 -0.1937)
OKLCHoklch(38.72% 0.194 270.7)
XYZxyz(8.8226, 5.0583, 38.0398)
Luminance0.0506 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252CA9 #A9A225
analogous
#256EA9 #252CA9 #6025A9
triadic
#252CA9 #A9252C #2CA925
tetradic
#252CA9 #A9256E #A9A225 #25A960
square
#252CA9 #A9256E #A9A225 #25A960
split-complementary
#252CA9 #A96025 #6EA925
monochromatic
#0F1245 #1A1F77 #252CA9 #3840D3 #6A70DE

Accessibility & contrast

On white

10.44
#252CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#252CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252CA9
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252CA9#FFFFFF#000000##FFFFFF
##252CA91.0010.442.0110.44
#FFFFFF10.441.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AD
Deuteranopia (green-blind)
#0039A7
Tritanopia (blue-blind)
#005068
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #252ca9;
/* rgb */ color: rgb(37, 44, 169);
/* oklch */ color: oklch(38.7% 0.194 270.7);
Tailwind
colors: {
  custom: {
    50: '#7766c4',
    500: '#252ca9',
    950: '#000000',
  },
}
SCSS
$custom: #252ca9;
$custom-light: #7766c4;
$custom-dark: #000000;
JSON
{
  "hex": "#252ca9",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 236.818,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.3872,
    "c": 0.19372,
    "h": 270.7
  },
  "luminance": 0.05059
}

Semantic roles & 50–950 ramp

primary
#252CA9
secondary
#C4BF65
accent
#DE41E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #252CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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