#252582#252582

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

Color values

HEX#252582
RGBrgb(37, 37, 130)
HSLhsl(240, 56%, 33%)
HSVhsv(240, 72%, 51%)
CMYKcmyk(71.5%, 71.5%, 0%, 49%)
CIE-LABlab(21.31, 32.01, -52.08)
CIE-LCHlch(21.31, 61.13, 301.58°)
OKLaboklab(33.5% 0.0121 -0.1505)
OKLCHoklch(33.5% 0.151 274.6)
XYZxyz(5.4524, 3.3276, 21.4697)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252582 #828225
analogous
#255382 #252582 #532582
triadic
#252582 #822525 #258225
tetradic
#252582 #822553 #828225 #258253
square
#252582 #822553 #828225 #258253
split-complementary
#252582 #825325 #538225
monochromatic
#0A0A23 #171752 #252582 #3333B2 #5353CE

Accessibility & contrast

On white

12.61
#252582 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#252582 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252582
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252582#FFFFFF#000000##FFFFFF
##2525821.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003785
Deuteranopia (green-blind)
#002F80
Tritanopia (blue-blind)
#003E50
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #252582;
/* rgb */ color: rgb(37, 37, 130);
/* oklch */ color: oklch(33.5% 0.151 274.6);
Tailwind
colors: {
  custom: {
    50: '#6e60a7',
    500: '#252582',
    950: '#000000',
  },
}
SCSS
$custom: #252582;
$custom-light: #6e60a7;
$custom-dark: #000000;
JSON
{
  "hex": "#252582",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 130
  },
  "hsl": {
    "h": 240,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.33504,
    "c": 0.15098,
    "h": 274.6
  },
  "luminance": 0.03328
}

Semantic roles & 50–950 ramp

primary
#252582
secondary
#B2B250
accent
#DF49DF
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #252582

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

Preview Lab → · Contrast checker → · Palette generator →

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