#252D7C#252D7C

#252D7C is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.4% C 0.133 H 272.8°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#252D7C
RGBrgb(37, 45, 124)
HSLhsl(234, 54%, 32%)
HSVhsv(234, 70%, 49%)
CMYKcmyk(70.2%, 63.7%, 0%, 51.4%)
CIE-LABlab(22.74, 24.50, -45.95)
CIE-LCHlch(22.74, 52.07, 298.07°)
OKLaboklab(34.37% 0.0065 -0.1325)
OKLCHoklch(34.37% 0.133 272.8)
XYZxyz(5.3382, 3.7248, 19.5025)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D7C #7C7425
analogous
#25597C #252D7C #49257C
triadic
#252D7C #7C252D #2D7C25
tetradic
#252D7C #7C2559 #7C7425 #257C49
square
#252D7C #7C2559 #7C7425 #257C49
split-complementary
#252D7C #7C4925 #597C25
monochromatic
#090B1E #171C4D #252D7C #333EAB #505CCB

Accessibility & contrast

On white

12.03
#252D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#252D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D7C
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D7C#FFFFFF#000000##FFFFFF
##252D7C1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #252d7c;
/* rgb */ color: rgb(37, 45, 124);
/* oklch */ color: oklch(34.4% 0.133 272.8);
Tailwind
colors: {
  custom: {
    50: '#6c66a3',
    500: '#252d7c',
    950: '#000000',
  },
}
SCSS
$custom: #252d7c;
$custom-light: #6c66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#252d7c",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 234.483,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.34373,
    "c": 0.13265,
    "h": 272.8
  },
  "luminance": 0.03725
}

Semantic roles & 50–950 ramp

primary
#252D7C
secondary
#AEA54F
accent
#D04ADD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #252D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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