#252B89#252B89

#252B89 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.153 H 272.7°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#252B89
RGBrgb(37, 43, 137)
HSLhsl(236, 57%, 34%)
HSVhsv(236, 73%, 54%)
CMYKcmyk(73%, 68.6%, 0%, 46.3%)
CIE-LABlab(23.43, 30.69, -53.00)
CIE-LCHlch(23.43, 61.24, 300.07°)
OKLaboklab(35.24% 0.0071 -0.1532)
OKLCHoklch(35.24% 0.153 272.7)
XYZxyz(6.1407, 3.9266, 24.0964)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252B89 #898325
analogous
#255D89 #252B89 #512589
triadic
#252B89 #89252B #2B8925
tetradic
#252B89 #89255D #898325 #258951
square
#252B89 #89255D #898325 #258951
split-complementary
#252B89 #895125 #5D8925
monochromatic
#0B0D29 #181C59 #252B89 #323AB9 #575ED2

Accessibility & contrast

On white

11.76
#252B89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252B89
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252B89#FFFFFF#000000##FFFFFF
##252B891.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252b89;
/* rgb */ color: rgb(37, 43, 137);
/* oklch */ color: oklch(35.2% 0.153 272.7);
Tailwind
colors: {
  custom: {
    50: '#6f64ac',
    500: '#252b89',
    950: '#000000',
  },
}
SCSS
$custom: #252b89;
$custom-light: #6f64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#252b89",
  "rgb": {
    "r": 37,
    "g": 43,
    "b": 137
  },
  "hsl": {
    "h": 236.4,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35244,
    "c": 0.15334,
    "h": 272.7
  },
  "luminance": 0.03927
}

Semantic roles & 50–950 ramp

primary
#252B89
secondary
#B6B054
accent
#D747E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #252B89

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

Preview Lab → · Contrast checker → · Palette generator →

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