#25337E#25337E

#25337E is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.128 H 270.6°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#25337E
RGBrgb(37, 51, 126)
HSLhsl(231, 55%, 32%)
HSVhsv(231, 71%, 49%)
CMYKcmyk(70.6%, 59.5%, 0%, 50.6%)
CIE-LABlab(24.53, 21.12, -44.29)
CIE-LCHlch(24.53, 49.07, 295.50°)
OKLaboklab(35.76% 0.0013 -0.1275)
OKLCHoklch(35.76% 0.128 270.6)
XYZxyz(5.7114, 4.2668, 20.2572)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25337E #7E7025
analogous
#25607E #25337E #44257E
triadic
#25337E #7E2533 #337E25
tetradic
#25337E #7E2560 #7E7025 #257E44
square
#25337E #7E2560 #7E7025 #257E44
split-complementary
#25337E #7E4425 #607E25
monochromatic
#090D1F #17204F #25337E #3346AD #5165CC

Accessibility & contrast

On white

11.33
#25337E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#25337E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25337E
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25337E#FFFFFF#000000##FFFFFF
##25337E1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00367D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #25337e;
/* rgb */ color: rgb(37, 51, 126);
/* oklch */ color: oklch(35.8% 0.128 270.6);
Tailwind
colors: {
  custom: {
    50: '#6c6aa4',
    500: '#25337e',
    950: '#000000',
  },
}
SCSS
$custom: #25337e;
$custom-light: #6c6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#25337e",
  "rgb": {
    "r": 37,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 230.562,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35757,
    "c": 0.12756,
    "h": 270.6
  },
  "luminance": 0.04267
}

Semantic roles & 50–950 ramp

primary
#25337E
secondary
#B0A14F
accent
#C74ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #25337E

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

Preview Lab → · Contrast checker → · Palette generator →

#25337E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva