#252080#252080

#252080 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.5% C 0.154 H 275.8°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#252080
RGBrgb(37, 32, 128)
HSLhsl(243, 60%, 31%)
HSVhsv(243, 75%, 50%)
CMYKcmyk(71.1%, 75%, 0%, 49.8%)
CIE-LABlab(19.98, 34.41, -53.00)
CIE-LCHlch(19.98, 63.19, 302.99°)
OKLaboklab(32.49% 0.0157 -0.1532)
OKLCHoklch(32.49% 0.154 275.8)
XYZxyz(5.1745, 2.9844, 20.7212)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252080 #7B8020
analogous
#204B80 #252080 #552080
triadic
#252080 #802520 #208025
tetradic
#252080 #80204B #7B8020 #208055
square
#252080 #80204B #7B8020 #208055
split-complementary
#252080 #805520 #4B8020
monochromatic
#09081E #17144F #252080 #332CB1 #5049D1

Accessibility & contrast

On white

13.15
#252080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#252080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252080
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252080#FFFFFF#000000##FFFFFF
##2520801.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003483
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#003B4E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #252080;
/* rgb */ color: rgb(37, 32, 128);
/* oklch */ color: oklch(32.5% 0.154 275.8);
Tailwind
colors: {
  custom: {
    50: '#6e5da6',
    500: '#252080',
    950: '#000000',
  },
}
SCSS
$custom: #252080;
$custom-light: #6e5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#252080",
  "rgb": {
    "r": 37,
    "g": 32,
    "b": 128
  },
  "hsl": {
    "h": 243.125,
    "s": 60,
    "l": 31.373
  },
  "oklch": {
    "l": 0.3249,
    "c": 0.15398,
    "h": 275.8
  },
  "luminance": 0.02985
}

Semantic roles & 50–950 ramp

primary
#252080
secondary
#ADB349
accent
#E345DB
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #252080

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

Preview Lab → · Contrast checker → · Palette generator →

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