#25328E#25328E

#25328E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.0% C 0.152 H 270.7°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#25328E
RGBrgb(37, 50, 142)
HSLhsl(233, 59%, 35%)
HSVhsv(233, 74%, 56%)
CMYKcmyk(73.9%, 64.8%, 0%, 44.3%)
CIE-LABlab(25.64, 27.91, -52.47)
CIE-LCHlch(25.64, 59.43, 298.01°)
OKLaboklab(37.01% 0.0019 -0.1516)
OKLCHoklch(37.01% 0.152 270.7)
XYZxyz(6.7844, 4.6268, 26.1215)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25328E #8E8125
analogous
#25678E #25328E #4C258E
triadic
#25328E #8E2532 #328E25
tetradic
#25328E #8E2567 #8E8125 #258E4C
square
#25328E #8E2567 #8E8125 #258E4C
split-complementary
#25328E #8E4C25 #678E25
monochromatic
#0C102D #18215D #25328E #3243BF #5A69D4

Accessibility & contrast

On white

10.91
#25328E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#25328E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25328E
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25328E#FFFFFF#000000##FFFFFF
##25328E1.0010.911.9310.91
#FFFFFF10.911.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#00388C
Tritanopia (blue-blind)
#004A5B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #25328e;
/* rgb */ color: rgb(37, 50, 142);
/* oklch */ color: oklch(37.0% 0.152 270.7);
Tailwind
colors: {
  custom: {
    50: '#706ab0',
    500: '#25328e',
    950: '#000000',
  },
}
SCSS
$custom: #25328e;
$custom-light: #706ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#25328e",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 232.571,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.37008,
    "c": 0.1516,
    "h": 270.7
  },
  "luminance": 0.04628
}

Semantic roles & 50–950 ramp

primary
#25328E
secondary
#B9AC56
accent
#CF46E2
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080611
muted
#7B7A80

Preview Lab

Preview with #25328E

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

Preview Lab → · Contrast checker → · Palette generator →

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