#25328A#25328A

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

Color values

HEX#25328A
RGBrgb(37, 50, 138)
HSLhsl(232, 58%, 34%)
HSVhsv(232, 73%, 54%)
CMYKcmyk(73.2%, 63.8%, 0%, 45.9%)
CIE-LABlab(25.29, 26.40, -50.57)
CIE-LCHlch(25.29, 57.05, 297.56°)
OKLaboklab(36.63% 0.002 -0.146)
OKLCHoklch(36.63% 0.146 270.8)
XYZxyz(6.4894, 4.5088, 24.5681)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25328A #8A7D25
analogous
#25658A #25328A #4B258A
triadic
#25328A #8A2532 #328A25
tetradic
#25328A #8A2565 #8A7D25 #258A4B
square
#25328A #8A2565 #8A7D25 #258A4B
split-complementary
#25328A #8A4B25 #658A25
monochromatic
#0B0F29 #18215A #25328A #3243BA #5767D2

Accessibility & contrast

On white

11.04
#25328A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#25328A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25328A
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25328A#FFFFFF#000000##FFFFFF
##25328A1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25328a;
/* rgb */ color: rgb(37, 50, 138);
/* oklch */ color: oklch(36.6% 0.146 270.8);
Tailwind
colors: {
  custom: {
    50: '#6f69ad',
    500: '#25328a',
    950: '#000000',
  },
}
SCSS
$custom: #25328a;
$custom-light: #6f69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#25328a",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 138
  },
  "hsl": {
    "h": 232.277,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36634,
    "c": 0.14604,
    "h": 270.8
  },
  "luminance": 0.04509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25328A

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

Preview Lab → · Contrast checker → · Palette generator →

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