#25328C#25328C

#25328C is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.149 H 270.8°. Best body text is #FFFFFF at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#25328C
RGBrgb(37, 50, 140)
HSLhsl(232, 58%, 35%)
HSVhsv(232, 74%, 55%)
CMYKcmyk(73.6%, 64.3%, 0%, 45.1%)
CIE-LABlab(25.46, 27.15, -51.53)
CIE-LCHlch(25.46, 58.24, 297.79°)
OKLaboklab(36.82% 0.002 -0.1488)
OKLCHoklch(36.82% 0.149 270.8)
XYZxyz(6.6356, 4.5673, 25.3377)
Luminance0.0457 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25328C #8C7F25
analogous
#25668C #25328C #4B258C
triadic
#25328C #8C2532 #328C25
tetradic
#25328C #8C2566 #8C7F25 #258C4B
square
#25328C #8C2566 #8C7F25 #258C4B
split-complementary
#25328C #8C4B25 #668C25
monochromatic
#0B0F2B #18215C #25328C #3243BC #5868D3

Accessibility & contrast

On white

10.97
#25328C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25328C
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25328C#FFFFFF#000000##FFFFFF
##25328C1.0010.971.9110.97
#FFFFFF10.971.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418F
Deuteranopia (green-blind)
#00388A
Tritanopia (blue-blind)
#00495A
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #25328c;
/* rgb */ color: rgb(37, 50, 140);
/* oklch */ color: oklch(36.8% 0.149 270.8);
Tailwind
colors: {
  custom: {
    50: '#6f69ae',
    500: '#25328c',
    950: '#000000',
  },
}
SCSS
$custom: #25328c;
$custom-light: #6f69ae;
$custom-dark: #000000;
JSON
{
  "hex": "#25328c",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 140
  },
  "hsl": {
    "h": 232.427,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.3682,
    "c": 0.14883,
    "h": 270.8
  },
  "luminance": 0.04568
}

Semantic roles & 50–950 ramp

primary
#25328C
secondary
#B8AB55
accent
#CE46E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #25328C

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

Preview Lab → · Contrast checker → · Palette generator →

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