#252A9A#252A9A

#252A9A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.8% C 0.177 H 271.8°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#252A9A
RGBrgb(37, 42, 154)
HSLhsl(237, 61%, 37%)
HSVhsv(237, 76%, 60%)
CMYKcmyk(76%, 72.7%, 0%, 39.6%)
CIE-LABlab(24.89, 37.44, -61.09)
CIE-LCHlch(24.89, 71.65, 301.50°)
OKLaboklab(36.82% 0.0056 -0.1768)
OKLCHoklch(36.82% 0.177 271.8)
XYZxyz(7.4217, 4.3816, 31.0202)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A9A #9A9525
analogous
#25649A #252A9A #5B259A
triadic
#252A9A #9A252A #2A9A25
tetradic
#252A9A #9A2564 #9A9525 #259A5B
square
#252A9A #9A2564 #9A9525 #259A5B
split-complementary
#252A9A #9A5B25 #649A25
monochromatic
#0D0F37 #191D69 #252A9A #3137CB #6066D9

Accessibility & contrast

On white

11.19
#252A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252A9A
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A9A#FFFFFF#000000##FFFFFF
##252A9A1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003598
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #252a9a;
/* rgb */ color: rgb(37, 42, 154);
/* oklch */ color: oklch(36.8% 0.177 271.8);
Tailwind
colors: {
  custom: {
    50: '#7364b9',
    500: '#252a9a',
    950: '#000000',
  },
}
SCSS
$custom: #252a9a;
$custom-light: #7364b9;
$custom-dark: #000000;
JSON
{
  "hex": "#252a9a",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 237.436,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36817,
    "c": 0.1769,
    "h": 271.8
  },
  "luminance": 0.04382
}

Semantic roles & 50–950 ramp

primary
#252A9A
secondary
#BEBA5D
accent
#DD43E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090512
muted
#7B7A81

Preview Lab

Preview with #252A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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