#25308B#25308B

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

Color values

HEX#25308B
RGBrgb(37, 48, 139)
HSLhsl(234, 58%, 35%)
HSVhsv(234, 73%, 55%)
CMYKcmyk(73.4%, 65.5%, 0%, 45.5%)
CIE-LABlab(24.86, 28.12, -51.89)
CIE-LCHlch(24.86, 59.02, 298.45°)
OKLaboklab(36.35% 0.0035 -0.1499)
OKLCHoklch(36.35% 0.15 271.3)
XYZxyz(6.4785, 4.3706, 24.9233)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25308B #8B8025
analogous
#25638B #25308B #4D258B
triadic
#25308B #8B2530 #308B25
tetradic
#25308B #8B2563 #8B8025 #258B4D
square
#25308B #8B2563 #8B8025 #258B4D
split-complementary
#25308B #8B4D25 #638B25
monochromatic
#0B0F2A #181F5B #25308B #3241BB #5865D3

Accessibility & contrast

On white

11.20
#25308B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#25308B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25308B
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25308B#FFFFFF#000000##FFFFFF
##25308B1.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408E
Deuteranopia (green-blind)
#003689
Tritanopia (blue-blind)
#004859
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25308b;
/* rgb */ color: rgb(37, 48, 139);
/* oklch */ color: oklch(36.3% 0.150 271.3);
Tailwind
colors: {
  custom: {
    50: '#6f68ae',
    500: '#25308b',
    950: '#000000',
  },
}
SCSS
$custom: #25308b;
$custom-light: #6f68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#25308b",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 139
  },
  "hsl": {
    "h": 233.529,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36349,
    "c": 0.14995,
    "h": 271.3
  },
  "luminance": 0.04371
}

Semantic roles & 50–950 ramp

primary
#25308B
secondary
#B7AC55
accent
#D147E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #25308B

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

Preview Lab → · Contrast checker → · Palette generator →

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