#252082#252082

#252082 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.7% C 0.157 H 275.6°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#252082
RGBrgb(37, 32, 130)
HSLhsl(243, 60%, 32%)
HSVhsv(243, 75%, 51%)
CMYKcmyk(71.5%, 75.4%, 0%, 49%)
CIE-LABlab(20.19, 35.10, -53.92)
CIE-LCHlch(20.19, 64.34, 303.07°)
OKLaboklab(32.71% 0.0153 -0.1558)
OKLCHoklch(32.71% 0.157 275.6)
XYZxyz(5.3074, 3.0376, 21.4214)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252082 #7D8220
analogous
#204C82 #252082 #562082
triadic
#252082 #822520 #208225
tetradic
#252082 #82204C #7D8220 #208256
square
#252082 #82204C #7D8220 #208256
split-complementary
#252082 #825620 #4C8220
monochromatic
#090820 #171451 #252082 #332CB3 #514AD2

Accessibility & contrast

On white

13.06
#252082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#252082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252082
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252082#FFFFFF#000000##FFFFFF
##2520821.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003585
Deuteranopia (green-blind)
#002C80
Tritanopia (blue-blind)
#003C4F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #252082;
/* rgb */ color: rgb(37, 32, 130);
/* oklch */ color: oklch(32.7% 0.157 275.6);
Tailwind
colors: {
  custom: {
    50: '#6e5da7',
    500: '#252082',
    950: '#000000',
  },
}
SCSS
$custom: #252082;
$custom-light: #6e5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#252082",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 130
  },
  "hsl": {
    "h": 243.061,
    "s": 60.494,
    "l": 31.765
  },
  "oklch": {
    "l": 0.32705,
    "c": 0.1566,
    "h": 275.6
  },
  "luminance": 0.03038
}

Semantic roles & 50–950 ramp

primary
#252082
secondary
#AFB549
accent
#E444DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#080410
muted
#7B797F

Preview Lab

Preview with #252082

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

Preview Lab → · Contrast checker → · Palette generator →

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