#25328B#25328B

#25328B is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.7% C 0.147 H 270.8°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#25328B
RGBrgb(37, 50, 139)
HSLhsl(232, 58%, 35%)
HSVhsv(232, 73%, 55%)
CMYKcmyk(73.4%, 64%, 0%, 45.5%)
CIE-LABlab(25.38, 26.78, -51.05)
CIE-LCHlch(25.38, 57.65, 297.68°)
OKLaboklab(36.73% 0.002 -0.1474)
OKLCHoklch(36.73% 0.147 270.8)
XYZxyz(6.5622, 4.5379, 24.9512)
Luminance0.0454 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25328B #8B7E25
analogous
#25658B #25328B #4B258B
triadic
#25328B #8B2532 #328B25
tetradic
#25328B #8B2565 #8B7E25 #258B4B
square
#25328B #8B2565 #8B7E25 #258B4B
split-complementary
#25328B #8B4B25 #658B25
monochromatic
#0B0F2A #18215B #25328B #3243BB #5868D3

Accessibility & contrast

On white

11.01
#25328B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#25328B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25328B
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25328B#FFFFFF#000000##FFFFFF
##25328B1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003889
Tritanopia (blue-blind)
#004959
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #25328b;
/* rgb */ color: rgb(37, 50, 139);
/* oklch */ color: oklch(36.7% 0.147 270.8);
Tailwind
colors: {
  custom: {
    50: '#6f69ae',
    500: '#25328b',
    950: '#000000',
  },
}
SCSS
$custom: #25328b;
$custom-light: #6f69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#25328b",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 139
  },
  "hsl": {
    "h": 232.353,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36727,
    "c": 0.14744,
    "h": 270.8
  },
  "luminance": 0.04539
}

Semantic roles & 50–950 ramp

primary
#25328B
secondary
#B7AB55
accent
#CD47E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #25328B

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

Preview Lab → · Contrast checker → · Palette generator →

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