#252575#252575

#252575 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.133 H 275.9°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#252575
RGBrgb(37, 37, 117)
HSLhsl(240, 52%, 30%)
HSVhsv(240, 68%, 46%)
CMYKcmyk(68.4%, 68.4%, 0%, 54.1%)
CIE-LABlab(20.05, 27.30, -45.89)
CIE-LCHlch(20.05, 53.39, 300.75°)
OKLaboklab(32.2% 0.0137 -0.1324)
OKLCHoklch(32.2% 0.133 275.9)
XYZxyz(4.6344, 3.0004, 17.1611)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252575 #757525
analogous
#254D75 #252575 #4D2575
triadic
#252575 #752525 #257525
tetradic
#252575 #75254D #757525 #25754D
square
#252575 #75254D #757525 #25754D
split-complementary
#252575 #754D25 #4D7525
monochromatic
#080818 #161647 #252575 #3434A3 #4E4EC7

Accessibility & contrast

On white

13.12
#252575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252575
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252575#FFFFFF#000000##FFFFFF
##2525751.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #252575;
/* rgb */ color: rgb(37, 37, 117);
/* oklch */ color: oklch(32.2% 0.133 275.9);
Tailwind
colors: {
  custom: {
    50: '#6b609e',
    500: '#252575',
    950: '#000000',
  },
}
SCSS
$custom: #252575;
$custom-light: #6b609e;
$custom-dark: #000000;
JSON
{
  "hex": "#252575",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 117
  },
  "hsl": {
    "h": 240,
    "s": 51.948,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32202,
    "c": 0.13308,
    "h": 275.9
  },
  "luminance": 0.03001
}

Semantic roles & 50–950 ramp

primary
#252575
secondary
#A8A84E
accent
#DB4CDB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #252575

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

Preview Lab → · Contrast checker → · Palette generator →

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