#25327E#25327E

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

Color values

HEX#25327E
RGBrgb(37, 50, 126)
HSLhsl(231, 55%, 32%)
HSVhsv(231, 71%, 49%)
CMYKcmyk(70.6%, 60.3%, 0%, 50.6%)
CIE-LABlab(24.26, 21.82, -44.74)
CIE-LCHlch(24.26, 49.77, 296.00°)
OKLaboklab(35.55% 0.0021 -0.1289)
OKLCHoklch(35.55% 0.129 271)
XYZxyz(5.6682, 4.1803, 20.2428)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25327E #7E7125
analogous
#255F7E #25327E #45257E
triadic
#25327E #7E2532 #327E25
tetradic
#25327E #7E255F #7E7125 #257E45
square
#25327E #7E255F #7E7125 #257E45
split-complementary
#25327E #7E4525 #5F7E25
monochromatic
#090C1F #171F4F #25327E #3345AD #5163CC

Accessibility & contrast

On white

11.44
#25327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#25327E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25327E
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25327E#FFFFFF#000000##FFFFFF
##25327E1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25327e;
/* rgb */ color: rgb(37, 50, 126);
/* oklch */ color: oklch(35.6% 0.129 271.0);
Tailwind
colors: {
  custom: {
    50: '#6c69a4',
    500: '#25327e',
    950: '#000000',
  },
}
SCSS
$custom: #25327e;
$custom-light: #6c69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#25327e",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 231.236,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.35552,
    "c": 0.1289,
    "h": 271
  },
  "luminance": 0.04181
}

Semantic roles & 50–950 ramp

primary
#25327E
secondary
#B0A24F
accent
#C84ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #25327E

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

Preview Lab → · Contrast checker → · Palette generator →

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