#25327D#25327D

#25327D is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.5% C 0.127 H 271.0°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#25327D
RGBrgb(37, 50, 125)
HSLhsl(231, 54%, 32%)
HSVhsv(231, 70%, 49%)
CMYKcmyk(70.4%, 60%, 0%, 51%)
CIE-LABlab(24.18, 21.43, -44.24)
CIE-LCHlch(24.18, 49.16, 295.85°)
OKLaboklab(35.46% 0.0021 -0.1274)
OKLCHoklch(35.46% 0.127 271)
XYZxyz(5.6040, 4.1547, 19.9047)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25327D #7D7025
analogous
#255E7D #25327D #44257D
triadic
#25327D #7D2532 #327D25
tetradic
#25327D #7D255E #7D7025 #257D44
square
#25327D #7D255E #7D7025 #257D44
split-complementary
#25327D #7D4425 #5E7D25
monochromatic
#090C1F #171F4E #25327D #3345AC #5163CB

Accessibility & contrast

On white

11.47
#25327D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#25327D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25327D
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25327D#FFFFFF#000000##FFFFFF
##25327D1.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E80
Deuteranopia (green-blind)
#00367C
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #25327d;
/* rgb */ color: rgb(37, 50, 125);
/* oklch */ color: oklch(35.5% 0.127 271.0);
Tailwind
colors: {
  custom: {
    50: '#6b69a3',
    500: '#25327d',
    950: '#000000',
  },
}
SCSS
$custom: #25327d;
$custom-light: #6b69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#25327d",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 125
  },
  "hsl": {
    "h": 231.136,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.35464,
    "c": 0.12744,
    "h": 271
  },
  "luminance": 0.04155
}

Semantic roles & 50–950 ramp

primary
#25327D
secondary
#AFA14F
accent
#C84ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #25327D

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

Preview Lab → · Contrast checker → · Palette generator →

#25327D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva