#25327B#25327B

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

Color values

HEX#25327B
RGBrgb(37, 50, 123)
HSLhsl(231, 54%, 31%)
HSVhsv(231, 70%, 48%)
CMYKcmyk(69.9%, 59.3%, 0%, 51.8%)
CIE-LABlab(24.01, 20.66, -43.24)
CIE-LCHlch(24.01, 47.92, 295.54°)
OKLaboklab(35.29% 0.0021 -0.1245)
OKLCHoklch(35.29% 0.125 271)
XYZxyz(5.4775, 4.1041, 19.2386)
Luminance0.0411 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25327B #7B6E25
analogous
#255D7B #25327B #43257B
triadic
#25327B #7B2532 #327B25
tetradic
#25327B #7B255D #7B6E25 #257B43
square
#25327B #7B255D #7B6E25 #257B43
split-complementary
#25327B #7B4325 #5D7B25
monochromatic
#090C1D #171F4C #25327B #3345AA #5063CA

Accessibility & contrast

On white

11.53
#25327B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#25327B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25327B
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25327B#FFFFFF#000000##FFFFFF
##25327B1.0011.531.8211.53
#FFFFFF11.531.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7D
Deuteranopia (green-blind)
#00357A
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #25327b;
/* rgb */ color: rgb(37, 50, 123);
/* oklch */ color: oklch(35.3% 0.125 271.0);
Tailwind
colors: {
  custom: {
    50: '#6b69a2',
    500: '#25327b',
    950: '#000000',
  },
}
SCSS
$custom: #25327b;
$custom-light: #6b69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#25327b",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 123
  },
  "hsl": {
    "h": 230.93,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35291,
    "c": 0.12451,
    "h": 271
  },
  "luminance": 0.04105
}

Semantic roles & 50–950 ramp

primary
#25327B
secondary
#AD9F4F
accent
#C74BDD
background
#F6F6FA
surface
#ECEBF3
border
#C7C6CD
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #25327B

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

Preview Lab → · Contrast checker → · Palette generator →

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