#252A9B#252A9B

#252A9B is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.178 H 271.7°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#252A9B
RGBrgb(37, 42, 155)
HSLhsl(237, 61%, 38%)
HSVhsv(237, 76%, 61%)
CMYKcmyk(76.1%, 72.9%, 0%, 39.2%)
CIE-LABlab(25.00, 37.79, -61.53)
CIE-LCHlch(25.00, 72.21, 301.56°)
OKLaboklab(36.92% 0.0054 -0.1781)
OKLCHoklch(36.92% 0.178 271.7)
XYZxyz(7.5053, 4.4150, 31.4606)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A9B #9B9625
analogous
#25659B #252A9B #5B259B
triadic
#252A9B #9B252A #2A9B25
tetradic
#252A9B #9B2565 #9B9625 #259B5B
square
#252A9B #9B2565 #9B9625 #259B5B
split-complementary
#252A9B #9B5B25 #659B25
monochromatic
#0D0F38 #191D6A #252A9B #3137CC #6166D9

Accessibility & contrast

On white

11.15
#252A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#252A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A9B
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A9B#FFFFFF#000000##FFFFFF
##252A9B1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #252a9b;
/* rgb */ color: rgb(37, 42, 155);
/* oklch */ color: oklch(36.9% 0.178 271.7);
Tailwind
colors: {
  custom: {
    50: '#7464ba',
    500: '#252a9b',
    950: '#000000',
  },
}
SCSS
$custom: #252a9b;
$custom-light: #7464ba;
$custom-dark: #000000;
JSON
{
  "hex": "#252a9b",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 237.458,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36923,
    "c": 0.17817,
    "h": 271.7
  },
  "luminance": 0.04416
}

Semantic roles & 50–950 ramp

primary
#252A9B
secondary
#BFBA5D
accent
#DE43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #252A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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