#252AA9#252AA9

#252AA9 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.4% C 0.196 H 270.9°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#252AA9
RGBrgb(37, 42, 169)
HSLhsl(238, 64%, 40%)
HSVhsv(238, 78%, 66%)
CMYKcmyk(78.1%, 75.1%, 0%, 33.7%)
CIE-LABlab(26.48, 42.64, -67.58)
CIE-LCHlch(26.48, 79.91, 302.25°)
OKLaboklab(38.42% 0.0032 -0.1957)
OKLCHoklch(38.42% 0.196 270.9)
XYZxyz(8.7499, 4.9128, 38.0155)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252AA9 #A9A425
analogous
#256CA9 #252AA9 #6225A9
triadic
#252AA9 #A9252A #2AA925
tetradic
#252AA9 #A9256C #A9A425 #25A962
square
#252AA9 #A9256C #A9A425 #25A962
split-complementary
#252AA9 #A96225 #6CA925
monochromatic
#0F1145 #1A1E77 #252AA9 #383ED3 #6A6EDE

Accessibility & contrast

On white

10.59
#252AA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#252AA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252AA9
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252AA9#FFFFFF#000000##FFFFFF
##252AA91.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045AD
Deuteranopia (green-blind)
#0038A7
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #252aa9;
/* rgb */ color: rgb(37, 42, 169);
/* oklch */ color: oklch(38.4% 0.196 270.9);
Tailwind
colors: {
  custom: {
    50: '#7765c4',
    500: '#252aa9',
    950: '#000000',
  },
}
SCSS
$custom: #252aa9;
$custom-light: #7765c4;
$custom-dark: #000000;
JSON
{
  "hex": "#252aa9",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 169
  },
  "hsl": {
    "h": 237.727,
    "s": 64.078,
    "l": 40.392
  },
  "oklch": {
    "l": 0.38425,
    "c": 0.19572,
    "h": 270.9
  },
  "luminance": 0.04914
}

Semantic roles & 50–950 ramp

primary
#252AA9
secondary
#C4C165
accent
#E141E7
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #252AA9

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

Preview Lab → · Contrast checker → · Palette generator →

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