#252B8A#252B8A

#252B8A is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.155 H 272.6°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#252B8A
RGBrgb(37, 43, 138)
HSLhsl(236, 58%, 34%)
HSVhsv(236, 73%, 54%)
CMYKcmyk(73.2%, 68.8%, 0%, 45.9%)
CIE-LABlab(23.52, 31.05, -53.46)
CIE-LCHlch(23.52, 61.83, 300.15°)
OKLaboklab(35.34% 0.007 -0.1545)
OKLCHoklch(35.34% 0.155 272.6)
XYZxyz(6.2127, 3.9554, 24.4759)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B8A #8A8425
analogous
#255E8A #252B8A #52258A
triadic
#252B8A #8A252B #2B8A25
tetradic
#252B8A #8A255E #8A8425 #258A52
square
#252B8A #8A255E #8A8425 #258A52
split-complementary
#252B8A #8A5225 #5E8A25
monochromatic
#0B0D29 #181C5A #252B8A #323ABA #575FD2

Accessibility & contrast

On white

11.72
#252B8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#252B8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B8A
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B8A#FFFFFF#000000##FFFFFF
##252B8A1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8D
Deuteranopia (green-blind)
#003388
Tritanopia (blue-blind)
#004456
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #252b8a;
/* rgb */ color: rgb(37, 43, 138);
/* oklch */ color: oklch(35.3% 0.155 272.6);
Tailwind
colors: {
  custom: {
    50: '#6f64ad',
    500: '#252b8a',
    950: '#000000',
  },
}
SCSS
$custom: #252b8a;
$custom-light: #6f64ad;
$custom-dark: #000000;
JSON
{
  "hex": "#252b8a",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 138
  },
  "hsl": {
    "h": 236.436,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35344,
    "c": 0.15469,
    "h": 272.6
  },
  "luminance": 0.03956
}

Semantic roles & 50–950 ramp

primary
#252B8A
secondary
#B7B154
accent
#D847E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #252B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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