#252574#252574

#252574 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.1% C 0.132 H 276.0°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#252574
RGBrgb(37, 37, 116)
HSLhsl(240, 52%, 30%)
HSVhsv(240, 68%, 45%)
CMYKcmyk(68.1%, 68.1%, 0%, 54.5%)
CIE-LABlab(19.95, 26.93, -45.40)
CIE-LCHlch(19.95, 52.78, 300.68°)
OKLaboklab(32.1% 0.0138 -0.1309)
OKLCHoklch(32.1% 0.132 276)
XYZxyz(4.5759, 2.9770, 16.8531)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252574 #747425
analogous
#254C74 #252574 #4C2574
triadic
#252574 #742525 #257425
tetradic
#252574 #74254D #747425 #25744D
square
#252574 #74254D #747425 #25744D
split-complementary
#252574 #744D25 #4D7425
monochromatic
#070717 #161646 #252574 #3434A2 #4D4DC6

Accessibility & contrast

On white

13.16
#252574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #252574
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252574#FFFFFF#000000##FFFFFF
##2525741.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003476
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#003949
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #252574;
/* rgb */ color: rgb(37, 37, 116);
/* oklch */ color: oklch(32.1% 0.132 276.0);
Tailwind
colors: {
  custom: {
    50: '#6b609d',
    500: '#252574',
    950: '#000000',
  },
}
SCSS
$custom: #252574;
$custom-light: #6b609d;
$custom-dark: #000000;
JSON
{
  "hex": "#252574",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 116
  },
  "hsl": {
    "h": 240,
    "s": 51.634,
    "l": 30
  },
  "oklch": {
    "l": 0.32104,
    "c": 0.13167,
    "h": 276
  },
  "luminance": 0.02977
}

Semantic roles & 50–950 ramp

primary
#252574
secondary
#A7A74E
accent
#DB4DDB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #252574

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

Preview Lab → · Contrast checker → · Palette generator →

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