#252C7D#252C7D

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

Color values

HEX#252C7D
RGBrgb(37, 44, 125)
HSLhsl(235, 54%, 32%)
HSVhsv(235, 70%, 49%)
CMYKcmyk(70.4%, 64.8%, 0%, 51%)
CIE-LABlab(22.57, 25.56, -46.86)
CIE-LCHlch(22.57, 53.38, 298.61°)
OKLaboklab(34.27% 0.0073 -0.1352)
OKLCHoklch(34.27% 0.135 273.1)
XYZxyz(5.3641, 3.6748, 19.8247)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252C7D #7D7625
analogous
#25587D #252C7D #4A257D
triadic
#252C7D #7D252C #2C7D25
tetradic
#252C7D #7D2558 #7D7625 #257D4A
square
#252C7D #7D2558 #7D7625 #257D4A
split-complementary
#252C7D #7D4A25 #587D25
monochromatic
#090B1F #171B4E #252C7D #333DAC #515BCB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##252C7D#FFFFFF#000000##FFFFFF
##252C7D1.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)
#003A80
Deuteranopia (green-blind)
#00327B
Tritanopia (blue-blind)
#004150
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #252c7d;
/* rgb */ color: rgb(37, 44, 125);
/* oklch */ color: oklch(34.3% 0.135 273.1);
Tailwind
colors: {
  custom: {
    50: '#6c65a3',
    500: '#252c7d',
    950: '#000000',
  },
}
SCSS
$custom: #252c7d;
$custom-light: #6c65a3;
$custom-dark: #000000;
JSON
{
  "hex": "#252c7d",
  "rgb": {
    "r": 37,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 235.227,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.34272,
    "c": 0.1354,
    "h": 273.1
  },
  "luminance": 0.03675
}

Semantic roles & 50–950 ramp

primary
#252C7D
secondary
#AFA74F
accent
#D24ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08050F
muted
#7A7A7F

Preview Lab

Preview with #252C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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