#252380#252380

#252380 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.0% C 0.151 H 275.2°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#252380
RGBrgb(37, 35, 128)
HSLhsl(241, 57%, 32%)
HSVhsv(241, 73%, 50%)
CMYKcmyk(71.1%, 72.7%, 0%, 49.8%)
CIE-LABlab(20.65, 32.56, -51.91)
CIE-LCHlch(20.65, 61.27, 302.10°)
OKLaboklab(32.97% 0.0137 -0.15)
OKLCHoklch(32.97% 0.151 275.2)
XYZxyz(5.2590, 3.1534, 20.7494)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252380 #7E8023
analogous
#235080 #252380 #542380
triadic
#252380 #802523 #238025
tetradic
#252380 #802350 #7E8023 #238054
square
#252380 #802350 #7E8023 #238054
split-complementary
#252380 #805423 #508023
monochromatic
#090920 #171650 #252380 #3330B0 #514FCF

Accessibility & contrast

On white

12.88
#252380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#252380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252380
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252380#FFFFFF#000000##FFFFFF
##2523801.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003683
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#003D4F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #252380;
/* rgb */ color: rgb(37, 35, 128);
/* oklch */ color: oklch(33.0% 0.151 275.2);
Tailwind
colors: {
  custom: {
    50: '#6e5fa6',
    500: '#252380',
    950: '#000000',
  },
}
SCSS
$custom: #252380;
$custom-light: #6e5fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#252380",
  "rgb": {
    "r": 37,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 241.29,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.32967,
    "c": 0.15062,
    "h": 275.2
  },
  "luminance": 0.03154
}

Semantic roles & 50–950 ramp

primary
#252380
secondary
#B0B24D
accent
#E047DD
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #252380

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

Preview Lab → · Contrast checker → · Palette generator →

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