#25308C#25308C

#25308C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.151 H 271.3°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#25308C
RGBrgb(37, 48, 140)
HSLhsl(234, 58%, 35%)
HSVhsv(234, 74%, 55%)
CMYKcmyk(73.6%, 65.7%, 0%, 45.1%)
CIE-LABlab(24.95, 28.49, -52.37)
CIE-LCHlch(24.95, 59.62, 298.55°)
OKLaboklab(36.44% 0.0034 -0.1513)
OKLCHoklch(36.44% 0.151 271.3)
XYZxyz(6.5519, 4.4000, 25.3098)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25308C #8C8125
analogous
#25648C #25308C #4D258C
triadic
#25308C #8C2530 #308C25
tetradic
#25308C #8C2564 #8C8125 #258C4D
square
#25308C #8C2564 #8C8125 #258C4D
split-complementary
#25308C #8C4D25 #648C25
monochromatic
#0B0F2B #181F5C #25308C #3241BC #5866D3

Accessibility & contrast

On white

11.17
#25308C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#25308C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25308C
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25308C#FFFFFF#000000##FFFFFF
##25308C1.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408F
Deuteranopia (green-blind)
#00368A
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25308c;
/* rgb */ color: rgb(37, 48, 140);
/* oklch */ color: oklch(36.4% 0.151 271.3);
Tailwind
colors: {
  custom: {
    50: '#6f68ae',
    500: '#25308c',
    950: '#000000',
  },
}
SCSS
$custom: #25308c;
$custom-light: #6f68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#25308c",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 140
  },
  "hsl": {
    "h": 233.592,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36444,
    "c": 0.15133,
    "h": 271.3
  },
  "luminance": 0.04401
}

Semantic roles & 50–950 ramp

primary
#25308C
secondary
#B8AD55
accent
#D146E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #25308C

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

Preview Lab → · Contrast checker → · Palette generator →

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