#252573#252573

#252573 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.0% C 0.130 H 276.1°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#252573
RGBrgb(37, 37, 115)
HSLhsl(240, 51%, 30%)
HSVhsv(240, 68%, 45%)
CMYKcmyk(67.8%, 67.8%, 0%, 54.9%)
CIE-LABlab(19.86, 26.56, -44.91)
CIE-LCHlch(19.86, 52.17, 300.60°)
OKLaboklab(32.01% 0.0139 -0.1295)
OKLCHoklch(32.01% 0.13 276.1)
XYZxyz(4.5180, 2.9539, 16.5484)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252573 #737325
analogous
#254C73 #252573 #4C2573
triadic
#252573 #732525 #257325
tetradic
#252573 #73254C #737325 #25734C
square
#252573 #73254C #737325 #25734C
split-complementary
#252573 #734C25 #4C7325
monochromatic
#070717 #161645 #252573 #3434A1 #4D4DC6

Accessibility & contrast

On white

13.20
#252573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#252573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252573
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252573#FFFFFF#000000##FFFFFF
##2525731.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#003948
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #252573;
/* rgb */ color: rgb(37, 37, 115);
/* oklch */ color: oklch(32.0% 0.130 276.1);
Tailwind
colors: {
  custom: {
    50: '#6a609c',
    500: '#252573',
    950: '#000000',
  },
}
SCSS
$custom: #252573;
$custom-light: #6a609c;
$custom-dark: #000000;
JSON
{
  "hex": "#252573",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 240,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32007,
    "c": 0.13025,
    "h": 276.1
  },
  "luminance": 0.02954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #252573

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

Preview Lab → · Contrast checker → · Palette generator →

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