#252B8B#252B8B

#252B8B is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.4% C 0.156 H 272.5°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#252B8B
RGBrgb(37, 43, 139)
HSLhsl(236, 58%, 35%)
HSVhsv(236, 73%, 55%)
CMYKcmyk(73.4%, 69.1%, 0%, 45.5%)
CIE-LABlab(23.62, 31.42, -53.93)
CIE-LCHlch(23.62, 62.41, 300.23°)
OKLaboklab(35.44% 0.0069 -0.1559)
OKLCHoklch(35.44% 0.156 272.5)
XYZxyz(6.2855, 3.9845, 24.8589)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B8B #8B8525
analogous
#255E8B #252B8B #52258B
triadic
#252B8B #8B252B #2B8B25
tetradic
#252B8B #8B255E #8B8525 #258B52
square
#252B8B #8B255E #8B8525 #258B52
split-complementary
#252B8B #8B5225 #5E8B25
monochromatic
#0B0D2A #181C5B #252B8B #323ABB #585FD3

Accessibility & contrast

On white

11.69
#252B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#252B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B8B
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B8B#FFFFFF#000000##FFFFFF
##252B8B1.0011.691.8011.69
#FFFFFF11.691.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D8E
Deuteranopia (green-blind)
#003389
Tritanopia (blue-blind)
#004557
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #252b8b;
/* rgb */ color: rgb(37, 43, 139);
/* oklch */ color: oklch(35.4% 0.156 272.5);
Tailwind
colors: {
  custom: {
    50: '#6f64ae',
    500: '#252b8b',
    950: '#000000',
  },
}
SCSS
$custom: #252b8b;
$custom-light: #6f64ae;
$custom-dark: #000000;
JSON
{
  "hex": "#252b8b",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 236.471,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35443,
    "c": 0.15604,
    "h": 272.5
  },
  "luminance": 0.03985
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #252B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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