#252B9B#252B9B

#252B9B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.1% C 0.177 H 271.6°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#252B9B
RGBrgb(37, 43, 155)
HSLhsl(237, 61%, 38%)
HSVhsv(237, 76%, 61%)
CMYKcmyk(76.1%, 72.3%, 0%, 39.2%)
CIE-LABlab(25.22, 37.18, -61.17)
CIE-LCHlch(25.22, 71.58, 301.29°)
OKLaboklab(37.08% 0.0049 -0.177)
OKLCHoklch(37.08% 0.177 271.6)
XYZxyz(7.5412, 4.4868, 31.4726)
Luminance0.0449 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B9B #9B9525
analogous
#25669B #252B9B #5A259B
triadic
#252B9B #9B252B #2B9B25
tetradic
#252B9B #9B2566 #9B9525 #259B5A
square
#252B9B #9B2566 #9B9525 #259B5A
split-complementary
#252B9B #9B5A25 #669B25
monochromatic
#0D1038 #191D6A #252B9B #3139CC #6167D9

Accessibility & contrast

On white

11.07
#252B9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#252B9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B9B
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B9B#FFFFFF#000000##FFFFFF
##252B9B1.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419E
Deuteranopia (green-blind)
#003699
Tritanopia (blue-blind)
#004B60
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #252b9b;
/* rgb */ color: rgb(37, 43, 155);
/* oklch */ color: oklch(37.1% 0.177 271.6);
Tailwind
colors: {
  custom: {
    50: '#7365ba',
    500: '#252b9b',
    950: '#000000',
  },
}
SCSS
$custom: #252b9b;
$custom-light: #7365ba;
$custom-dark: #000000;
JSON
{
  "hex": "#252b9b",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 155
  },
  "hsl": {
    "h": 236.949,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37081,
    "c": 0.17711,
    "h": 271.6
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

primary
#252B9B
secondary
#BFBA5D
accent
#DC43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090612
muted
#7B7A81

Preview Lab

Preview with #252B9B

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

Preview Lab → · Contrast checker → · Palette generator →

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