#252D96#252D96

#252D96 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.9% C 0.168 H 271.5°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#252D96
RGBrgb(37, 45, 150)
HSLhsl(236, 60%, 37%)
HSVhsv(236, 75%, 59%)
CMYKcmyk(75.3%, 70%, 0%, 41.2%)
CIE-LABlab(25.17, 34.14, -58.18)
CIE-LCHlch(25.17, 67.46, 300.40°)
OKLaboklab(36.9% 0.0045 -0.1683)
OKLCHoklch(36.9% 0.168 271.5)
XYZxyz(7.2045, 4.4713, 29.3316)
Luminance0.0447 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D96 #968E25
analogous
#256696 #252D96 #562596
triadic
#252D96 #96252D #2D9625
tetradic
#252D96 #962566 #968E25 #259656
square
#252D96 #962566 #968E25 #259656
split-complementary
#252D96 #965625 #669625
monochromatic
#0D1034 #191E65 #252D96 #313CC7 #5E67D7

Accessibility & contrast

On white

11.09
#252D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252D96
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D96#FFFFFF#000000##FFFFFF
##252D961.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004199
Deuteranopia (green-blind)
#003694
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #252d96;
/* rgb */ color: rgb(37, 45, 150);
/* oklch */ color: oklch(36.9% 0.168 271.5);
Tailwind
colors: {
  custom: {
    50: '#7266b6',
    500: '#252d96',
    950: '#000000',
  },
}
SCSS
$custom: #252d96;
$custom-light: #7266b6;
$custom-dark: #000000;
JSON
{
  "hex": "#252d96",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 235.752,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36895,
    "c": 0.16838,
    "h": 271.5
  },
  "luminance": 0.04472
}

Semantic roles & 50–950 ramp

primary
#252D96
secondary
#BCB55B
accent
#D844E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #252D96

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

Preview Lab → · Contrast checker → · Palette generator →

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