#252390#252390

#252390 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.7% C 0.171 H 273.6°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#252390
RGBrgb(37, 35, 144)
HSLhsl(241, 61%, 35%)
HSVhsv(241, 76%, 56%)
CMYKcmyk(74.3%, 75.7%, 0%, 43.5%)
CIE-LABlab(22.33, 38.15, -59.16)
CIE-LCHlch(22.33, 70.39, 302.82°)
OKLaboklab(34.67% 0.0109 -0.1711)
OKLCHoklch(34.67% 0.171 273.6)
XYZxyz(6.3963, 3.6084, 26.7395)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252390 #8E9023
analogous
#235790 #252390 #5C2390
triadic
#252390 #902523 #239025
tetradic
#252390 #902357 #8E9023 #23905C
square
#252390 #902357 #8E9023 #23905C
split-complementary
#252390 #905C23 #579023
monochromatic
#0C0B2E #18175F #252390 #322FC1 #5A57D6

Accessibility & contrast

On white

12.20
#252390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#252390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252390
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252390#FFFFFF#000000##FFFFFF
##2523901.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#004358
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #252390;
/* rgb */ color: rgb(37, 35, 144);
/* oklch */ color: oklch(34.7% 0.171 273.6);
Tailwind
colors: {
  custom: {
    50: '#715fb2',
    500: '#252390',
    950: '#000000',
  },
}
SCSS
$custom: #252390;
$custom-light: #715fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#252390",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 144
  },
  "hsl": {
    "h": 241.101,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.34673,
    "c": 0.17147,
    "h": 273.6
  },
  "luminance": 0.03609
}

Semantic roles & 50–950 ramp

primary
#252390
secondary
#B9BA54
accent
#E444E1
background
#F7F5FB
surface
#EDE9F6
border
#C8C5D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252390

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

Preview Lab → · Contrast checker → · Palette generator →

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