#252890#252890

#252890 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.4% C 0.166 H 272.8°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#252890
RGBrgb(37, 40, 144)
HSLhsl(238, 59%, 35%)
HSVhsv(238, 74%, 56%)
CMYKcmyk(74.3%, 72.2%, 0%, 43.5%)
CIE-LABlab(23.42, 35.13, -57.36)
CIE-LCHlch(23.42, 67.27, 301.48°)
OKLaboklab(35.45% 0.0081 -0.1659)
OKLCHoklch(35.45% 0.166 272.8)
XYZxyz(6.5541, 3.9239, 26.7921)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252890 #908D25
analogous
#255D90 #252890 #572590
triadic
#252890 #902528 #289025
tetradic
#252890 #90255D #908D25 #259057
square
#252890 #90255D #908D25 #259057
split-complementary
#252890 #905725 #5D9025
monochromatic
#0C0D2F #181A5F #252890 #3236C1 #5B5ED5

Accessibility & contrast

On white

11.76
#252890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#252890 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252890
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252890#FFFFFF#000000##FFFFFF
##2528901.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D93
Deuteranopia (green-blind)
#00338E
Tritanopia (blue-blind)
#004559
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #252890;
/* rgb */ color: rgb(37, 40, 144);
/* oklch */ color: oklch(35.4% 0.166 272.8);
Tailwind
colors: {
  custom: {
    50: '#7163b2',
    500: '#252890',
    950: '#000000',
  },
}
SCSS
$custom: #252890;
$custom-light: #7163b2;
$custom-dark: #000000;
JSON
{
  "hex": "#252890",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 144
  },
  "hsl": {
    "h": 238.318,
    "s": 59.116,
    "l": 35.49
  },
  "oklch": {
    "l": 0.35448,
    "c": 0.16614,
    "h": 272.8
  },
  "luminance": 0.03925
}

Semantic roles & 50–950 ramp

primary
#252890
secondary
#B9B757
accent
#DE45E2
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252890

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

Preview Lab → · Contrast checker → · Palette generator →

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