#252D8A#252D8A

#252D8A is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.7% C 0.152 H 272.1°. Best body text is #FFFFFF at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#252D8A
RGBrgb(37, 45, 138)
HSLhsl(235, 58%, 34%)
HSVhsv(235, 73%, 54%)
CMYKcmyk(73.2%, 67.4%, 0%, 45.9%)
CIE-LABlab(24.01, 29.74, -52.66)
CIE-LCHlch(24.01, 60.48, 299.46°)
OKLaboklab(35.7% 0.0056 -0.1522)
OKLCHoklch(35.7% 0.152 272.1)
XYZxyz(6.2872, 4.1044, 24.5007)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D8A #8A8225
analogous
#255F8A #252D8A #50258A
triadic
#252D8A #8A252D #2D8A25
tetradic
#252D8A #8A255F #8A8225 #258A50
square
#252D8A #8A255F #8A8225 #258A50
split-complementary
#252D8A #8A5025 #5F8A25
monochromatic
#0B0E29 #181D5A #252D8A #323DBA #5761D2

Accessibility & contrast

On white

11.53
#252D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#252D8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D8A
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D8A#FFFFFF#000000##FFFFFF
##252D8A1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8D
Deuteranopia (green-blind)
#003488
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #252d8a;
/* rgb */ color: rgb(37, 45, 138);
/* oklch */ color: oklch(35.7% 0.152 272.1);
Tailwind
colors: {
  custom: {
    50: '#6f66ad',
    500: '#252d8a',
    950: '#000000',
  },
}
SCSS
$custom: #252d8a;
$custom-light: #6f66ad;
$custom-dark: #000000;
JSON
{
  "hex": "#252d8a",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 235.248,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.357,
    "c": 0.15227,
    "h": 272.1
  },
  "luminance": 0.04105
}

Semantic roles & 50–950 ramp

primary
#252D8A
secondary
#B7AF54
accent
#D547E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #252D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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