#252089#252089

#252089 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.5% C 0.166 H 274.8°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#252089
RGBrgb(37, 32, 137)
HSLhsl(243, 62%, 33%)
HSVhsv(243, 77%, 54%)
CMYKcmyk(73%, 76.6%, 0%, 46.3%)
CIE-LABlab(20.95, 37.51, -57.07)
CIE-LCHlch(20.95, 68.30, 303.31°)
OKLaboklab(33.47% 0.0138 -0.165)
OKLCHoklch(33.47% 0.166 274.8)
XYZxyz(5.7933, 3.2319, 23.9806)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252089 #848920
analogous
#204F89 #252089 #592089
triadic
#252089 #892520 #208925
tetradic
#252089 #89204F #848920 #208959
square
#252089 #89204F #848920 #208959
split-complementary
#252089 #895920 #4F8920
monochromatic
#0A0926 #181457 #252089 #322CBB #544ED6

Accessibility & contrast

On white

12.76
#252089 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#252089 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252089
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252089#FFFFFF#000000##FFFFFF
##2520891.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00378C
Deuteranopia (green-blind)
#002D87
Tritanopia (blue-blind)
#003E53
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #252089;
/* rgb */ color: rgb(37, 32, 137);
/* oklch */ color: oklch(33.5% 0.166 274.8);
Tailwind
colors: {
  custom: {
    50: '#705dad',
    500: '#252089',
    950: '#000000',
  },
}
SCSS
$custom: #252089;
$custom-light: #705dad;
$custom-dark: #000000;
JSON
{
  "hex": "#252089",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 137
  },
  "hsl": {
    "h": 242.857,
    "s": 62.13,
    "l": 33.137
  },
  "oklch": {
    "l": 0.33467,
    "c": 0.16563,
    "h": 274.8
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#252089
secondary
#B3B94C
accent
#E543DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #252089

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

Preview Lab → · Contrast checker → · Palette generator →

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