#252E89#252E89

#252E89 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.8% C 0.150 H 271.9°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#252E89
RGBrgb(37, 46, 137)
HSLhsl(235, 57%, 34%)
HSVhsv(235, 73%, 54%)
CMYKcmyk(73%, 66.4%, 0%, 46.3%)
CIE-LABlab(24.17, 28.71, -51.78)
CIE-LCHlch(24.17, 59.20, 299.00°)
OKLaboklab(35.79% 0.005 -0.1496)
OKLCHoklch(35.79% 0.15 271.9)
XYZxyz(6.2538, 4.1528, 24.1341)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252E89 #898025
analogous
#256089 #252E89 #4E2589
triadic
#252E89 #89252E #2E8925
tetradic
#252E89 #892560 #898025 #25894E
square
#252E89 #892560 #898025 #25894E
split-complementary
#252E89 #894E25 #608925
monochromatic
#0B0E29 #181E59 #252E89 #323EB9 #5762D2

Accessibility & contrast

On white

11.47
#252E89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#252E89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252E89
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252E89#FFFFFF#000000##FFFFFF
##252E891.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E8C
Deuteranopia (green-blind)
#003587
Tritanopia (blue-blind)
#004657
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #252e89;
/* rgb */ color: rgb(37, 46, 137);
/* oklch */ color: oklch(35.8% 0.150 271.9);
Tailwind
colors: {
  custom: {
    50: '#6f67ac',
    500: '#252e89',
    950: '#000000',
  },
}
SCSS
$custom: #252e89;
$custom-light: #6f67ac;
$custom-dark: #000000;
JSON
{
  "hex": "#252e89",
  "rgb": {
    "r": 37,
    "g": 46,
    "b": 137
  },
  "hsl": {
    "h": 234.6,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35786,
    "c": 0.14967,
    "h": 271.9
  },
  "luminance": 0.04153
}

Semantic roles & 50–950 ramp

primary
#252E89
secondary
#B6AD54
accent
#D347E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #252E89

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

Preview Lab → · Contrast checker → · Palette generator →

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