#25328F#25328F

#25328F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.1% C 0.153 H 270.7°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#25328F
RGBrgb(37, 50, 143)
HSLhsl(233, 59%, 35%)
HSVhsv(233, 74%, 56%)
CMYKcmyk(74.1%, 65%, 0%, 43.9%)
CIE-LABlab(25.73, 28.29, -52.94)
CIE-LCHlch(25.73, 60.03, 298.11°)
OKLaboklab(37.1% 0.0018 -0.153)
OKLCHoklch(37.1% 0.153 270.7)
XYZxyz(6.8598, 4.6570, 26.5186)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25328F #8F8225
analogous
#25678F #25328F #4D258F
triadic
#25328F #8F2532 #328F25
tetradic
#25328F #8F2567 #8F8225 #258F4D
square
#25328F #8F2567 #8F8225 #258F4D
split-complementary
#25328F #8F4D25 #678F25
monochromatic
#0C102E #18215E #25328F #3243C0 #5A69D4

Accessibility & contrast

On white

10.87
#25328F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25328F
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25328F#FFFFFF#000000##FFFFFF
##25328F1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25328f;
/* rgb */ color: rgb(37, 50, 143);
/* oklch */ color: oklch(37.1% 0.153 270.7);
Tailwind
colors: {
  custom: {
    50: '#706ab1',
    500: '#25328f',
    950: '#000000',
  },
}
SCSS
$custom: #25328f;
$custom-light: #706ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#25328f",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 143
  },
  "hsl": {
    "h": 232.642,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37102,
    "c": 0.15298,
    "h": 270.7
  },
  "luminance": 0.04658
}

Semantic roles & 50–950 ramp

primary
#25328F
secondary
#B9AD57
accent
#CF46E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #25328F

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

Preview Lab → · Contrast checker → · Palette generator →

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