#252989#252989

#252989 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.156 H 273.1°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#252989
RGBrgb(37, 41, 137)
HSLhsl(238, 57%, 34%)
HSVhsv(238, 73%, 54%)
CMYKcmyk(73%, 70.1%, 0%, 46.3%)
CIE-LABlab(22.95, 31.98, -53.79)
CIE-LCHlch(22.95, 62.58, 300.74°)
OKLaboklab(34.9% 0.0085 -0.1555)
OKLCHoklch(34.9% 0.156 273.1)
XYZxyz(6.0697, 3.7847, 24.0727)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252989 #898525
analogous
#255B89 #252989 #532589
triadic
#252989 #892529 #298925
tetradic
#252989 #89255B #898525 #258953
square
#252989 #89255B #898525 #258953
split-complementary
#252989 #895325 #5B8925
monochromatic
#0B0C29 #181B59 #252989 #3237B9 #575CD2

Accessibility & contrast

On white

11.95
#252989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#252989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252989
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252989#FFFFFF#000000##FFFFFF
##2529891.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003287
Tritanopia (blue-blind)
#004355
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #252989;
/* rgb */ color: rgb(37, 41, 137);
/* oklch */ color: oklch(34.9% 0.156 273.1);
Tailwind
colors: {
  custom: {
    50: '#6f63ac',
    500: '#252989',
    950: '#000000',
  },
}
SCSS
$custom: #252989;
$custom-light: #6f63ac;
$custom-dark: #000000;
JSON
{
  "hex": "#252989",
  "rgb": {
    "r": 37,
    "g": 41,
    "b": 137
  },
  "hsl": {
    "h": 237.6,
    "s": 57.471,
    "l": 34.118
  },
  "oklch": {
    "l": 0.34896,
    "c": 0.15571,
    "h": 273.1
  },
  "luminance": 0.03785
}

Semantic roles & 50–950 ramp

primary
#252989
secondary
#B6B254
accent
#DB47E1
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #252989

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

Preview Lab → · Contrast checker → · Palette generator →

#252989 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva