#252D9B#252D9B

#252D9B is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.4% C 0.175 H 271.3°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#252D9B
RGBrgb(37, 45, 155)
HSLhsl(236, 61%, 38%)
HSVhsv(236, 76%, 61%)
CMYKcmyk(76.1%, 71%, 0%, 39.2%)
CIE-LABlab(25.67, 35.94, -60.43)
CIE-LCHlch(25.67, 70.31, 300.74°)
OKLaboklab(37.41% 0.0039 -0.1749)
OKLCHoklch(37.41% 0.175 271.3)
XYZxyz(7.6157, 4.6358, 31.4974)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D9B #9B9325
analogous
#25689B #252D9B #58259B
triadic
#252D9B #9B252D #2D9B25
tetradic
#252D9B #9B2568 #9B9325 #259B58
square
#252D9B #9B2568 #9B9325 #259B58
split-complementary
#252D9B #9B5825 #689B25
monochromatic
#0D1038 #191F6A #252D9B #313BCC #6169D9

Accessibility & contrast

On white

10.90
#252D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#252D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D9B
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D9B#FFFFFF#000000##FFFFFF
##252D9B1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003799
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #252d9b;
/* rgb */ color: rgb(37, 45, 155);
/* oklch */ color: oklch(37.4% 0.175 271.3);
Tailwind
colors: {
  custom: {
    50: '#7366ba',
    500: '#252d9b',
    950: '#000000',
  },
}
SCSS
$custom: #252d9b;
$custom-light: #7366ba;
$custom-dark: #000000;
JSON
{
  "hex": "#252d9b",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 235.932,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37406,
    "c": 0.17491,
    "h": 271.3
  },
  "luminance": 0.04637
}

Semantic roles & 50–950 ramp

primary
#252D9B
secondary
#BFB85D
accent
#DA43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #252D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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