#252A89#252A89

#252A89 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.1% C 0.155 H 272.9°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#252A89
RGBrgb(37, 42, 137)
HSLhsl(237, 57%, 34%)
HSVhsv(237, 73%, 54%)
CMYKcmyk(73%, 69.3%, 0%, 46.3%)
CIE-LABlab(23.19, 31.34, -53.39)
CIE-LCHlch(23.19, 61.91, 300.41°)
OKLaboklab(35.07% 0.0078 -0.1543)
OKLCHoklch(35.07% 0.155 272.9)
XYZxyz(6.1048, 3.8548, 24.0844)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252A89 #898425
analogous
#255C89 #252A89 #522589
triadic
#252A89 #89252A #2A8925
tetradic
#252A89 #89255C #898425 #258952
square
#252A89 #89255C #898425 #258952
split-complementary
#252A89 #895225 #5C8925
monochromatic
#0B0C29 #181B59 #252A89 #3239B9 #575DD2

Accessibility & contrast

On white

11.86
#252A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#252A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252A89
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252A89#FFFFFF#000000##FFFFFF
##252A891.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #252a89;
/* rgb */ color: rgb(37, 42, 137);
/* oklch */ color: oklch(35.1% 0.155 272.9);
Tailwind
colors: {
  custom: {
    50: '#6f64ac',
    500: '#252a89',
    950: '#000000',
  },
}
SCSS
$custom: #252a89;
$custom-light: #6f64ac;
$custom-dark: #000000;
JSON
{
  "hex": "#252a89",
  "rgb": {
    "r": 37,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 237,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35069,
    "c": 0.15453,
    "h": 272.9
  },
  "luminance": 0.03855
}

Semantic roles & 50–950 ramp

primary
#252A89
secondary
#B6B154
accent
#D947E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #252A89

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

Preview Lab → · Contrast checker → · Palette generator →

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