#252B7A#252B7A

#252B7A is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.8% C 0.132 H 273.6°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#252B7A
RGBrgb(37, 43, 122)
HSLhsl(236, 53%, 31%)
HSVhsv(236, 70%, 48%)
CMYKcmyk(69.7%, 64.8%, 0%, 52.2%)
CIE-LABlab(22.04, 25.11, -45.82)
CIE-LCHlch(22.04, 52.25, 298.72°)
OKLaboklab(33.8% 0.0083 -0.1321)
OKLCHoklch(33.8% 0.132 273.6)
XYZxyz(5.1385, 3.5257, 18.8183)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B7A #7A7425
analogous
#25557A #252B7A #49257A
triadic
#252B7A #7A252B #2B7A25
tetradic
#252B7A #7A2555 #7A7425 #257A49
square
#252B7A #7A2555 #7A7425 #257A49
split-complementary
#252B7A #7A4925 #557A25
monochromatic
#090A1C #171A4B #252B7A #333CA9 #5058CA

Accessibility & contrast

On white

12.32
#252B7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#252B7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B7A
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B7A#FFFFFF#000000##FFFFFF
##252B7A1.0012.321.7112.32
#FFFFFF12.321.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397D
Deuteranopia (green-blind)
#003178
Tritanopia (blue-blind)
#003F4E
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #252b7a;
/* rgb */ color: rgb(37, 43, 122);
/* oklch */ color: oklch(33.8% 0.132 273.6);
Tailwind
colors: {
  custom: {
    50: '#6b64a1',
    500: '#252b7a',
    950: '#000000',
  },
}
SCSS
$custom: #252b7a;
$custom-light: #6b64a1;
$custom-dark: #000000;
JSON
{
  "hex": "#252b7a",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 122
  },
  "hsl": {
    "h": 235.765,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.338,
    "c": 0.13241,
    "h": 273.6
  },
  "luminance": 0.03526
}

Semantic roles & 50–950 ramp

primary
#252B7A
secondary
#ACA64E
accent
#D34BDD
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07050F
muted
#7A7A7F

Preview Lab

Preview with #252B7A

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

Preview Lab → · Contrast checker → · Palette generator →

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