#252189#252189

#252189 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.6% C 0.165 H 274.6°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#252189
RGBrgb(37, 33, 137)
HSLhsl(242, 61%, 33%)
HSVhsv(242, 76%, 54%)
CMYKcmyk(73%, 75.9%, 0%, 46.3%)
CIE-LABlab(21.16, 36.92, -56.73)
CIE-LCHlch(21.16, 67.69, 303.06°)
OKLaboklab(33.61% 0.0133 -0.1641)
OKLCHoklch(33.61% 0.165 274.6)
XYZxyz(5.8207, 3.2866, 23.9897)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252189 #858921
analogous
#215189 #252189 #592189
triadic
#252189 #892521 #218925
tetradic
#252189 #892151 #858921 #218959
square
#252189 #892151 #858921 #218959
split-complementary
#252189 #895921 #518921
monochromatic
#0A0926 #181558 #252189 #322DBA #5550D5

Accessibility & contrast

On white

12.67
#252189 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#252189 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252189
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252189#FFFFFF#000000##FFFFFF
##2521891.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.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: #252189;
/* rgb */ color: rgb(37, 33, 137);
/* oklch */ color: oklch(33.6% 0.165 274.6);
Tailwind
colors: {
  custom: {
    50: '#705ead',
    500: '#252189',
    950: '#000000',
  },
}
SCSS
$custom: #252189;
$custom-light: #705ead;
$custom-dark: #000000;
JSON
{
  "hex": "#252189",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 137
  },
  "hsl": {
    "h": 242.308,
    "s": 61.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.33614,
    "c": 0.1646,
    "h": 274.6
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#252189
secondary
#B4B84E
accent
#E444DE
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #252189

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

Preview Lab → · Contrast checker → · Palette generator →

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