#252D95#252D95

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

Color values

HEX#252D95
RGBrgb(37, 45, 149)
HSLhsl(236, 60%, 36%)
HSVhsv(236, 75%, 58%)
CMYKcmyk(75.2%, 69.8%, 0%, 41.6%)
CIE-LABlab(25.07, 33.78, -57.73)
CIE-LCHlch(25.07, 66.88, 300.33°)
OKLaboklab(36.79% 0.0046 -0.167)
OKLCHoklch(36.79% 0.167 271.6)
XYZxyz(7.1243, 4.4393, 28.9093)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D95 #958D25
analogous
#256595 #252D95 #552595
triadic
#252D95 #95252D #2D9525
tetradic
#252D95 #952565 #958D25 #259555
square
#252D95 #952565 #958D25 #259555
split-complementary
#252D95 #955525 #659525
monochromatic
#0D0F33 #191E64 #252D95 #313CC6 #5E66D7

Accessibility & contrast

On white

11.12
#252D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#252D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D95
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D95#FFFFFF#000000##FFFFFF
##252D951.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004198
Deuteranopia (green-blind)
#003693
Tritanopia (blue-blind)
#00495D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #252d95;
/* rgb */ color: rgb(37, 45, 149);
/* oklch */ color: oklch(36.8% 0.167 271.6);
Tailwind
colors: {
  custom: {
    50: '#7266b5',
    500: '#252d95',
    950: '#000000',
  },
}
SCSS
$custom: #252d95;
$custom-light: #7266b5;
$custom-dark: #000000;
JSON
{
  "hex": "#252d95",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 235.714,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36794,
    "c": 0.16706,
    "h": 271.6
  },
  "luminance": 0.0444
}

Semantic roles & 50–950 ramp

primary
#252D95
secondary
#BCB55A
accent
#D844E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #252D95

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

Preview Lab → · Contrast checker → · Palette generator →

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