#252D9D#252D9D

#252D9D is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.6% C 0.177 H 271.2°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#252D9D
RGBrgb(37, 45, 157)
HSLhsl(236, 62%, 38%)
HSVhsv(236, 76%, 62%)
CMYKcmyk(76.4%, 71.3%, 0%, 38.4%)
CIE-LABlab(25.87, 36.66, -61.31)
CIE-LCHlch(25.87, 71.44, 300.87°)
OKLaboklab(37.61% 0.0036 -0.1775)
OKLCHoklch(37.61% 0.178 271.2)
XYZxyz(7.7851, 4.7036, 32.3893)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D9D #9D9525
analogous
#25699D #252D9D #59259D
triadic
#252D9D #9D252D #2D9D25
tetradic
#252D9D #9D2569 #9D9525 #259D59
square
#252D9D #9D2569 #9D9525 #259D59
split-complementary
#252D9D #9D5925 #699D25
monochromatic
#0E113A #191F6B #252D9D #313BCE #626ADA

Accessibility & contrast

On white

10.82
#252D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#252D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D9D
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D9D#FFFFFF#000000##FFFFFF
##252D9D1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A0
Deuteranopia (green-blind)
#00379B
Tritanopia (blue-blind)
#004C61
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #252d9d;
/* rgb */ color: rgb(37, 45, 157);
/* oklch */ color: oklch(37.6% 0.177 271.2);
Tailwind
colors: {
  custom: {
    50: '#7466bb',
    500: '#252d9d',
    950: '#000000',
  },
}
SCSS
$custom: #252d9d;
$custom-light: #7466bb;
$custom-dark: #000000;
JSON
{
  "hex": "#252d9d",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 236,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.37612,
    "c": 0.1775,
    "h": 271.2
  },
  "luminance": 0.04704
}

Semantic roles & 50–950 ramp

primary
#252D9D
secondary
#BFB95E
accent
#DA43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #252D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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