#252490#252490

#252490 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.170 H 273.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#252490
RGBrgb(37, 36, 144)
HSLhsl(241, 60%, 35%)
HSVhsv(241, 75%, 56%)
CMYKcmyk(74.3%, 75%, 0%, 43.5%)
CIE-LABlab(22.54, 37.56, -58.81)
CIE-LCHlch(22.54, 69.78, 302.57°)
OKLaboklab(34.82% 0.0103 -0.1701)
OKLCHoklch(34.82% 0.17 273.5)
XYZxyz(6.4262, 3.6680, 26.7495)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252490 #8F9024
analogous
#245990 #252490 #5B2490
triadic
#252490 #902524 #249025
tetradic
#252490 #902459 #8F9024 #24905B
square
#252490 #902459 #8F9024 #24905B
split-complementary
#252490 #905B24 #599024
monochromatic
#0C0C2E #18185F #252490 #3230C1 #5A59D5

Accessibility & contrast

On white

12.11
#252490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#252490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252490
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252490#FFFFFF#000000##FFFFFF
##2524901.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B93
Deuteranopia (green-blind)
#00318E
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #252490;
/* rgb */ color: rgb(37, 36, 144);
/* oklch */ color: oklch(34.8% 0.170 273.5);
Tailwind
colors: {
  custom: {
    50: '#7160b2',
    500: '#252490',
    950: '#000000',
  },
}
SCSS
$custom: #252490;
$custom-light: #7160b2;
$custom-dark: #000000;
JSON
{
  "hex": "#252490",
  "rgb": {
    "r": 37,
    "g": 36,
    "b": 144
  },
  "hsl": {
    "h": 240.556,
    "s": 60,
    "l": 35.294
  },
  "oklch": {
    "l": 0.34822,
    "c": 0.17044,
    "h": 273.5
  },
  "luminance": 0.03669
}

Semantic roles & 50–950 ramp

primary
#252490
secondary
#B9BA56
accent
#E345E2
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252490

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

Preview Lab → · Contrast checker → · Palette generator →

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