#252A99#252A99

#252A99 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.176 H 271.9°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#252A99
RGBrgb(37, 42, 153)
HSLhsl(237, 61%, 37%)
HSVhsv(237, 76%, 60%)
CMYKcmyk(75.8%, 72.5%, 0%, 40%)
CIE-LABlab(24.79, 37.09, -60.65)
CIE-LCHlch(24.79, 71.09, 301.44°)
OKLaboklab(36.71% 0.0057 -0.1755)
OKLCHoklch(36.71% 0.176 271.9)
XYZxyz(7.3387, 4.3484, 30.5834)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A99 #999425
analogous
#256499 #252A99 #5A2599
triadic
#252A99 #99252A #2A9925
tetradic
#252A99 #992564 #999425 #25995A
square
#252A99 #992564 #999425 #25995A
split-complementary
#252A99 #995A25 #649925
monochromatic
#0D0F36 #191C68 #252A99 #3138CA #6065D9

Accessibility & contrast

On white

11.23
#252A99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#252A99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A99
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A99#FFFFFF#000000##FFFFFF
##252A991.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00495E
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #252a99;
/* rgb */ color: rgb(37, 42, 153);
/* oklch */ color: oklch(36.7% 0.176 271.9);
Tailwind
colors: {
  custom: {
    50: '#7364b8',
    500: '#252a99',
    950: '#000000',
  },
}
SCSS
$custom: #252a99;
$custom-light: #7364b8;
$custom-dark: #000000;
JSON
{
  "hex": "#252a99",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 153
  },
  "hsl": {
    "h": 237.414,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36712,
    "c": 0.17561,
    "h": 271.9
  },
  "luminance": 0.04349
}

Semantic roles & 50–950 ramp

primary
#252A99
secondary
#BEB95C
accent
#DD44E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #252A99

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

Preview Lab → · Contrast checker → · Palette generator →

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