#252973#252973

#252973 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.125 H 274.8°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#252973
RGBrgb(37, 41, 115)
HSLhsl(237, 51%, 30%)
HSVhsv(237, 68%, 45%)
CMYKcmyk(67.8%, 64.3%, 0%, 54.9%)
CIE-LABlab(20.89, 23.85, -43.22)
CIE-LCHlch(20.89, 49.36, 298.89°)
OKLaboklab(32.76% 0.0104 -0.1245)
OKLCHoklch(32.76% 0.125 274.8)
XYZxyz(4.6494, 3.2166, 16.5922)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#252973 #736F25
analogous
#255073 #252973 #482573
triadic
#252973 #732529 #297325
tetradic
#252973 #732550 #736F25 #257348
square
#252973 #732550 #736F25 #257348
split-complementary
#252973 #734825 #507325
monochromatic
#070817 #161845 #252973 #343AA1 #4D53C6

Accessibility & contrast

On white

12.78
#252973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#252973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #252973
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##252973#FFFFFF#000000##FFFFFF
##2529731.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003675
Deuteranopia (green-blind)
#002F72
Tritanopia (blue-blind)
#003C49
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #252973;
/* rgb */ color: rgb(37, 41, 115);
/* oklch */ color: oklch(32.8% 0.125 274.8);
Tailwind
colors: {
  custom: {
    50: '#6a629c',
    500: '#252973',
    950: '#000000',
  },
}
SCSS
$custom: #252973;
$custom-light: #6a629c;
$custom-dark: #000000;
JSON
{
  "hex": "#252973",
  "rgb": {
    "r": 37,
    "g": 41,
    "b": 115
  },
  "hsl": {
    "h": 236.923,
    "s": 51.316,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32764,
    "c": 0.12496,
    "h": 274.8
  },
  "luminance": 0.03217
}

Semantic roles & 50–950 ramp

primary
#252973
secondary
#A6A14E
accent
#D44DDB
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #252973

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

Preview Lab → · Contrast checker → · Palette generator →

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