#252D91#252D91

#252D91 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.4% C 0.162 H 271.8°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#252D91
RGBrgb(37, 45, 145)
HSLhsl(236, 59%, 36%)
HSVhsv(236, 74%, 57%)
CMYKcmyk(74.5%, 69%, 0%, 43.1%)
CIE-LABlab(24.68, 32.32, -55.90)
CIE-LCHlch(24.68, 64.57, 300.03°)
OKLaboklab(36.39% 0.005 -0.1617)
OKLCHoklch(36.39% 0.162 271.8)
XYZxyz(6.8104, 4.3137, 27.2563)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D91 #918925
analogous
#256391 #252D91 #532591
triadic
#252D91 #91252D #2D9125
tetradic
#252D91 #912563 #918925 #259153
square
#252D91 #912563 #918925 #259153
split-complementary
#252D91 #915325 #639125
monochromatic
#0C0F2F #191E60 #252D91 #313CC2 #5B64D5

Accessibility & contrast

On white

11.27
#252D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#252D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D91
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D91#FFFFFF#000000##FFFFFF
##252D911.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004094
Deuteranopia (green-blind)
#00368F
Tritanopia (blue-blind)
#00485B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #252d91;
/* rgb */ color: rgb(37, 45, 145);
/* oklch */ color: oklch(36.4% 0.162 271.8);
Tailwind
colors: {
  custom: {
    50: '#7166b2',
    500: '#252d91',
    950: '#000000',
  },
}
SCSS
$custom: #252d91;
$custom-light: #7166b2;
$custom-dark: #000000;
JSON
{
  "hex": "#252d91",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 235.556,
    "s": 59.341,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36391,
    "c": 0.16175,
    "h": 271.8
  },
  "luminance": 0.04314
}

Semantic roles & 50–950 ramp

primary
#252D91
secondary
#BAB358
accent
#D745E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #252D91

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

Preview Lab → · Contrast checker → · Palette generator →

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