#252595#252595

#252595 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.5% C 0.176 H 272.9°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#252595
RGBrgb(37, 37, 149)
HSLhsl(240, 60%, 36%)
HSVhsv(240, 75%, 58%)
CMYKcmyk(75.2%, 75.2%, 0%, 41.6%)
CIE-LABlab(23.29, 38.70, -60.67)
CIE-LCHlch(23.29, 71.96, 302.53°)
OKLaboklab(35.51% 0.0089 -0.1756)
OKLCHoklch(35.51% 0.176 272.9)
XYZxyz(6.8475, 3.8857, 28.8171)
Luminance0.0389 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252595 #959525
analogous
#255D95 #252595 #5D2595
triadic
#252595 #952525 #259525
tetradic
#252595 #95255D #959525 #25955D
square
#252595 #95255D #959525 #25955D
split-complementary
#252595 #955D25 #5D9525
monochromatic
#0D0D33 #191964 #252595 #3131C6 #5E5ED7

Accessibility & contrast

On white

11.82
#252595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#252595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252595
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252595#FFFFFF#000000##FFFFFF
##2525951.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003293
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #252595;
/* rgb */ color: rgb(37, 37, 149);
/* oklch */ color: oklch(35.5% 0.176 272.9);
Tailwind
colors: {
  custom: {
    50: '#7361b5',
    500: '#252595',
    950: '#000000',
  },
}
SCSS
$custom: #252595;
$custom-light: #7361b5;
$custom-dark: #000000;
JSON
{
  "hex": "#252595",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 240,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.35514,
    "c": 0.17578,
    "h": 272.9
  },
  "luminance": 0.03886
}

Semantic roles & 50–950 ramp

primary
#252595
secondary
#BCBC5A
accent
#E344E3
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #252595

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

Preview Lab → · Contrast checker → · Palette generator →

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