#252D7A#252D7A

#252D7A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.2% C 0.130 H 272.9°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#252D7A
RGBrgb(37, 45, 122)
HSLhsl(234, 53%, 31%)
HSVhsv(234, 70%, 48%)
CMYKcmyk(69.7%, 63.1%, 0%, 52.2%)
CIE-LABlab(22.57, 23.74, -44.96)
CIE-LCHlch(22.57, 50.84, 297.83°)
OKLaboklab(34.19% 0.0066 -0.1296)
OKLCHoklch(34.19% 0.13 272.9)
XYZxyz(5.2130, 3.6748, 18.8432)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252D7A #7A7225
analogous
#25577A #252D7A #47257A
triadic
#252D7A #7A252D #2D7A25
tetradic
#252D7A #7A2557 #7A7225 #257A47
square
#252D7A #7A2557 #7A7225 #257A47
split-complementary
#252D7A #7A4725 #577A25
monochromatic
#090A1C #171C4B #252D7A #333EA9 #505BCA

Accessibility & contrast

On white

12.10
#252D7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#252D7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252D7A
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252D7A#FFFFFF#000000##FFFFFF
##252D7A1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A7D
Deuteranopia (green-blind)
#003278
Tritanopia (blue-blind)
#00404F
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #252d7a;
/* rgb */ color: rgb(37, 45, 122);
/* oklch */ color: oklch(34.2% 0.130 272.9);
Tailwind
colors: {
  custom: {
    50: '#6b65a1',
    500: '#252d7a',
    950: '#000000',
  },
}
SCSS
$custom: #252d7a;
$custom-light: #6b65a1;
$custom-dark: #000000;
JSON
{
  "hex": "#252d7a",
  "rgb": {
    "r": 37,
    "g": 45,
    "b": 122
  },
  "hsl": {
    "h": 234.353,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.3419,
    "c": 0.12977,
    "h": 272.9
  },
  "luminance": 0.03675
}

Semantic roles & 50–950 ramp

primary
#252D7A
secondary
#ACA34E
accent
#CF4BDD
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #252D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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