#25327F#25327F

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

Color values

HEX#25327F
RGBrgb(37, 50, 127)
HSLhsl(231, 55%, 32%)
HSVhsv(231, 71%, 50%)
CMYKcmyk(70.9%, 60.6%, 0%, 50.2%)
CIE-LABlab(24.34, 22.20, -45.23)
CIE-LCHlch(24.34, 50.38, 296.14°)
OKLaboklab(35.64% 0.0022 -0.1303)
OKLCHoklch(35.64% 0.13 270.9)
XYZxyz(5.7330, 4.2063, 20.5843)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25327F #7F7225
analogous
#255F7F #25327F #45257F
triadic
#25327F #7F2532 #327F25
tetradic
#25327F #7F255F #7F7225 #257F45
square
#25327F #7F255F #7F7225 #257F45
split-complementary
#25327F #7F4525 #5F7F25
monochromatic
#090D20 #171F50 #25327F #3345AE #5264CD

Accessibility & contrast

On white

11.40
#25327F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25327F
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25327F#FFFFFF#000000##FFFFFF
##25327F1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25327f;
/* rgb */ color: rgb(37, 50, 127);
/* oklch */ color: oklch(35.6% 0.130 270.9);
Tailwind
colors: {
  custom: {
    50: '#6c69a5',
    500: '#25327f',
    950: '#000000',
  },
}
SCSS
$custom: #25327f;
$custom-light: #6c69a5;
$custom-dark: #000000;
JSON
{
  "hex": "#25327f",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 231.333,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3564,
    "c": 0.13036,
    "h": 270.9
  },
  "luminance": 0.04207
}

Semantic roles & 50–950 ramp

primary
#25327F
secondary
#B1A34F
accent
#C94ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08060F
muted
#7A7A7F

Preview Lab

Preview with #25327F

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

Preview Lab → · Contrast checker → · Palette generator →

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