#252180#252180

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

Color values

HEX#252180
RGBrgb(37, 33, 128)
HSLhsl(243, 59%, 32%)
HSVhsv(243, 74%, 50%)
CMYKcmyk(71.1%, 74.2%, 0%, 49.8%)
CIE-LABlab(20.20, 33.80, -52.64)
CIE-LCHlch(20.20, 62.56, 302.70°)
OKLaboklab(32.65% 0.015 -0.1521)
OKLCHoklch(32.65% 0.153 275.6)
XYZxyz(5.2018, 3.0391, 20.7304)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252180 #7C8021
analogous
#214D80 #252180 #552180
triadic
#252180 #802521 #218025
tetradic
#252180 #80214D #7C8021 #218055
square
#252180 #80214D #7C8021 #218055
split-complementary
#252180 #805521 #4D8021
monochromatic
#09081F #17144F #252180 #332EB1 #504BD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##252180#FFFFFF#000000##FFFFFF
##2521801.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)
#003583
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#003C4E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #252180;
/* rgb */ color: rgb(37, 33, 128);
/* oklch */ color: oklch(32.6% 0.153 275.6);
Tailwind
colors: {
  custom: {
    50: '#6e5da6',
    500: '#252180',
    950: '#000000',
  },
}
SCSS
$custom: #252180;
$custom-light: #6e5da6;
$custom-dark: #000000;
JSON
{
  "hex": "#252180",
  "rgb": {
    "r": 37,
    "g": 33,
    "b": 128
  },
  "hsl": {
    "h": 242.526,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.32646,
    "c": 0.15288,
    "h": 275.6
  },
  "luminance": 0.0304
}

Semantic roles & 50–950 ramp

primary
#252180
secondary
#AEB34A
accent
#E246DC
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#08040F
muted
#7B797F

Preview Lab

Preview with #252180

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

Preview Lab → · Contrast checker → · Palette generator →

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