#25328D#25328D

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

Color values

HEX#25328D
RGBrgb(37, 50, 141)
HSLhsl(233, 58%, 35%)
HSVhsv(233, 74%, 55%)
CMYKcmyk(73.8%, 64.5%, 0%, 44.7%)
CIE-LABlab(25.55, 27.53, -52.00)
CIE-LCHlch(25.55, 58.84, 297.90°)
OKLaboklab(36.91% 0.0019 -0.1502)
OKLCHoklch(36.91% 0.15 270.7)
XYZxyz(6.7096, 4.5969, 25.7278)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25328D #8D8025
analogous
#25668D #25328D #4C258D
triadic
#25328D #8D2532 #328D25
tetradic
#25328D #8D2566 #8D8025 #258D4C
square
#25328D #8D2566 #8D8025 #258D4C
split-complementary
#25328D #8D4C25 #668D25
monochromatic
#0C102C #18215D #25328D #3243BD #5968D3

Accessibility & contrast

On white

10.94
#25328D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#25328D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25328D
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25328D#FFFFFF#000000##FFFFFF
##25328D1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#00388B
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #25328d;
/* rgb */ color: rgb(37, 50, 141);
/* oklch */ color: oklch(36.9% 0.150 270.7);
Tailwind
colors: {
  custom: {
    50: '#6f69af',
    500: '#25328d',
    950: '#000000',
  },
}
SCSS
$custom: #25328d;
$custom-light: #6f69af;
$custom-dark: #000000;
JSON
{
  "hex": "#25328d",
  "rgb": {
    "r": 37,
    "g": 50,
    "b": 141
  },
  "hsl": {
    "h": 232.5,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36914,
    "c": 0.15022,
    "h": 270.7
  },
  "luminance": 0.04598
}

Semantic roles & 50–950 ramp

primary
#25328D
secondary
#B8AC56
accent
#CE46E2
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #25328D

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

Preview Lab → · Contrast checker → · Palette generator →

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