#25308A#25308A

#25308A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.3% C 0.149 H 271.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#25308A
RGBrgb(37, 48, 138)
HSLhsl(233, 58%, 34%)
HSVhsv(233, 73%, 54%)
CMYKcmyk(73.2%, 65.2%, 0%, 45.9%)
CIE-LABlab(24.77, 27.74, -51.42)
CIE-LCHlch(24.77, 58.43, 298.35°)
OKLaboklab(36.25% 0.0035 -0.1485)
OKLCHoklch(36.25% 0.149 271.4)
XYZxyz(6.4058, 4.3416, 24.5402)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25308A #8A7F25
analogous
#25638A #25308A #4D258A
triadic
#25308A #8A2530 #308A25
tetradic
#25308A #8A2563 #8A7F25 #258A4D
square
#25308A #8A2563 #8A7F25 #258A4D
split-complementary
#25308A #8A4D25 #638A25
monochromatic
#0B0E29 #181F5A #25308A #3241BA #5765D2

Accessibility & contrast

On white

11.24
#25308A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25308A
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25308A#FFFFFF#000000##FFFFFF
##25308A1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408D
Deuteranopia (green-blind)
#003688
Tritanopia (blue-blind)
#004758
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25308a;
/* rgb */ color: rgb(37, 48, 138);
/* oklch */ color: oklch(36.3% 0.149 271.4);
Tailwind
colors: {
  custom: {
    50: '#6f68ad',
    500: '#25308a',
    950: '#000000',
  },
}
SCSS
$custom: #25308a;
$custom-light: #6f68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#25308a",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 138
  },
  "hsl": {
    "h": 233.465,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36254,
    "c": 0.14856,
    "h": 271.4
  },
  "luminance": 0.04342
}

Semantic roles & 50–950 ramp

primary
#25308A
secondary
#B7AC54
accent
#D047E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #25308A

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

Preview Lab → · Contrast checker → · Palette generator →

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