#252289#252289

#252289 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.8% C 0.164 H 274.5°. Best body text is #FFFFFF at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#252289
RGBrgb(37, 34, 137)
HSLhsl(242, 60%, 34%)
HSVhsv(242, 75%, 54%)
CMYKcmyk(73%, 75.2%, 0%, 46.3%)
CIE-LABlab(21.37, 36.33, -56.38)
CIE-LCHlch(21.37, 67.08, 302.80°)
OKLaboklab(33.76% 0.0127 -0.163)
OKLCHoklch(33.76% 0.164 274.5)
XYZxyz(5.8488, 3.3429, 23.9991)
Luminance0.0334 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252289 #868922
analogous
#225289 #252289 #582289
triadic
#252289 #892522 #228925
tetradic
#252289 #892252 #868922 #228958
square
#252289 #892252 #868922 #228958
split-complementary
#252289 #895822 #528922
monochromatic
#0B0A27 #181658 #252289 #322EBA #5551D4

Accessibility & contrast

On white

12.58
#252289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#252289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252289
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252289#FFFFFF#000000##FFFFFF
##2522891.0012.581.6712.58
#FFFFFF12.581.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00388C
Deuteranopia (green-blind)
#002E87
Tritanopia (blue-blind)
#003F53
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #252289;
/* rgb */ color: rgb(37, 34, 137);
/* oklch */ color: oklch(33.8% 0.164 274.5);
Tailwind
colors: {
  custom: {
    50: '#705ead',
    500: '#252289',
    950: '#000000',
  },
}
SCSS
$custom: #252289;
$custom-light: #705ead;
$custom-dark: #000000;
JSON
{
  "hex": "#252289",
  "rgb": {
    "r": 37,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 241.748,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.33764,
    "c": 0.16355,
    "h": 274.5
  },
  "luminance": 0.03344
}

Semantic roles & 50–950 ramp

primary
#252289
secondary
#B4B84F
accent
#E344DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #252289

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

Preview Lab → · Contrast checker → · Palette generator →

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