#252B99#252B99

#252B99 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.175 H 271.7°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#252B99
RGBrgb(37, 43, 153)
HSLhsl(237, 61%, 37%)
HSVhsv(237, 76%, 60%)
CMYKcmyk(75.8%, 71.9%, 0%, 40%)
CIE-LABlab(25.01, 36.47, -60.28)
CIE-LCHlch(25.01, 70.46, 301.17°)
OKLaboklab(36.87% 0.0052 -0.1744)
OKLCHoklch(36.87% 0.175 271.7)
XYZxyz(7.3747, 4.4202, 30.5953)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B99 #999325
analogous
#256599 #252B99 #592599
triadic
#252B99 #99252B #2B9925
tetradic
#252B99 #992565 #999325 #259959
square
#252B99 #992565 #999325 #259959
split-complementary
#252B99 #995925 #659925
monochromatic
#0D0F36 #191D68 #252B99 #3139CA #6066D9

Accessibility & contrast

On white

11.15
#252B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#252B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252B99
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B99#FFFFFF#000000##FFFFFF
##252B991.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419C
Deuteranopia (green-blind)
#003697
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #252b99;
/* rgb */ color: rgb(37, 43, 153);
/* oklch */ color: oklch(36.9% 0.175 271.7);
Tailwind
colors: {
  custom: {
    50: '#7365b8',
    500: '#252b99',
    950: '#000000',
  },
}
SCSS
$custom: #252b99;
$custom-light: #7365b8;
$custom-dark: #000000;
JSON
{
  "hex": "#252b99",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 236.897,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36872,
    "c": 0.17453,
    "h": 271.7
  },
  "luminance": 0.04421
}

Semantic roles & 50–950 ramp

primary
#252B99
secondary
#BEB95C
accent
#DC44E4
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090511
muted
#7B7A80

Preview Lab

Preview with #252B99

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

Preview Lab → · Contrast checker → · Palette generator →

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