#252576#252576

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

Color values

HEX#252576
RGBrgb(37, 37, 118)
HSLhsl(240, 52%, 30%)
HSVhsv(240, 69%, 46%)
CMYKcmyk(68.6%, 68.6%, 0%, 53.7%)
CIE-LABlab(20.14, 27.66, -46.37)
CIE-LCHlch(20.14, 54.00, 300.82°)
OKLaboklab(32.3% 0.0136 -0.1338)
OKLCHoklch(32.3% 0.134 275.8)
XYZxyz(4.6935, 3.0240, 17.4724)
Luminance0.0302 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252576 #767625
analogous
#254D76 #252576 #4D2576
triadic
#252576 #762525 #257625
tetradic
#252576 #76254D #767625 #25764D
square
#252576 #76254D #767625 #25764D
split-complementary
#252576 #764D25 #4D7625
monochromatic
#080819 #161647 #252576 #3434A5 #4E4EC7

Accessibility & contrast

On white

13.09
#252576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252576
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252576#FFFFFF#000000##FFFFFF
##2525761.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003479
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#003A4A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #252576;
/* rgb */ color: rgb(37, 37, 118);
/* oklch */ color: oklch(32.3% 0.134 275.8);
Tailwind
colors: {
  custom: {
    50: '#6b609e',
    500: '#252576',
    950: '#000000',
  },
}
SCSS
$custom: #252576;
$custom-light: #6b609e;
$custom-dark: #000000;
JSON
{
  "hex": "#252576",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 118
  },
  "hsl": {
    "h": 240,
    "s": 52.258,
    "l": 30.392
  },
  "oklch": {
    "l": 0.32299,
    "c": 0.13449,
    "h": 275.8
  },
  "luminance": 0.03024
}

Semantic roles & 50–950 ramp

primary
#252576
secondary
#A9A94E
accent
#DC4CDC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #252576

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

Preview Lab → · Contrast checker → · Palette generator →

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