#25327C#25327C

#25327C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.4% C 0.126 H 271.0°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#25327C
RGBrgb(37, 50, 124)
HSLhsl(231, 54%, 32%)
HSVhsv(231, 70%, 49%)
CMYKcmyk(70.2%, 59.7%, 0%, 51.4%)
CIE-LABlab(24.09, 21.05, -43.74)
CIE-LCHlch(24.09, 48.54, 295.70°)
OKLaboklab(35.38% 0.0021 -0.126)
OKLCHoklch(35.38% 0.126 271)
XYZxyz(5.5404, 4.1292, 19.5699)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25327C #7C6F25
analogous
#255E7C #25327C #44257C
triadic
#25327C #7C2532 #327C25
tetradic
#25327C #7C255E #7C6F25 #257C44
square
#25327C #7C255E #7C6F25 #257C44
split-complementary
#25327C #7C4425 #5E7C25
monochromatic
#090C1E #171F4D #25327C #3345AB #5063CB

Accessibility & contrast

On white

11.50
#25327C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25327C
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25327C#FFFFFF#000000##FFFFFF
##25327C1.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7F
Deuteranopia (green-blind)
#00357B
Tritanopia (blue-blind)
#004452
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #25327c;
/* rgb */ color: rgb(37, 50, 124);
/* oklch */ color: oklch(35.4% 0.126 271.0);
Tailwind
colors: {
  custom: {
    50: '#6b69a3',
    500: '#25327c',
    950: '#000000',
  },
}
SCSS
$custom: #25327c;
$custom-light: #6b69a3;
$custom-dark: #000000;
JSON
{
  "hex": "#25327c",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 124
  },
  "hsl": {
    "h": 231.034,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.35377,
    "c": 0.12598,
    "h": 271
  },
  "luminance": 0.0413
}

Semantic roles & 50–950 ramp

primary
#25327C
secondary
#AEA04F
accent
#C74ADD
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #25327C

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

Preview Lab → · Contrast checker → · Palette generator →

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