#252A91#252A91

#252A91 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.9% C 0.165 H 272.4°. Best body text is #FFFFFF at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#252A91
RGBrgb(37, 42, 145)
HSLhsl(237, 59%, 36%)
HSVhsv(237, 74%, 57%)
CMYKcmyk(74.5%, 71%, 0%, 43.1%)
CIE-LABlab(23.98, 34.23, -57.07)
CIE-LCHlch(23.98, 66.55, 300.96°)
OKLaboklab(35.88% 0.0068 -0.1651)
OKLCHoklch(35.88% 0.165 272.4)
XYZxyz(6.7000, 4.0929, 27.2195)
Luminance0.0409 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A91 #918C25
analogous
#256091 #252A91 #562591
triadic
#252A91 #91252A #2A9125
tetradic
#252A91 #912560 #918C25 #259156
square
#252A91 #912560 #918C25 #259156
split-complementary
#252A91 #915625 #609125
monochromatic
#0C0E2F #191C60 #252A91 #3138C2 #5B61D5

Accessibility & contrast

On white

11.55
#252A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#252A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A91
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A91#FFFFFF#000000##FFFFFF
##252A911.0011.551.8211.55
#FFFFFF11.551.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E94
Deuteranopia (green-blind)
#00348F
Tritanopia (blue-blind)
#00465A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #252a91;
/* rgb */ color: rgb(37, 42, 145);
/* oklch */ color: oklch(35.9% 0.165 272.4);
Tailwind
colors: {
  custom: {
    50: '#7164b2',
    500: '#252a91',
    950: '#000000',
  },
}
SCSS
$custom: #252a91;
$custom-light: #7164b2;
$custom-dark: #000000;
JSON
{
  "hex": "#252a91",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 237.222,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.35881,
    "c": 0.1652,
    "h": 272.4
  },
  "luminance": 0.04094
}

Semantic roles & 50–950 ramp

primary
#252A91
secondary
#BAB558
accent
#DB45E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #252A91

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

Preview Lab → · Contrast checker → · Palette generator →

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