#25308D#25308D

#25308D is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.5% C 0.153 H 271.2°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).

Color values

HEX#25308D
RGBrgb(37, 48, 141)
HSLhsl(234, 58%, 35%)
HSVhsv(234, 74%, 55%)
CMYKcmyk(73.8%, 66%, 0%, 44.7%)
CIE-LABlab(25.04, 28.87, -52.84)
CIE-LCHlch(25.04, 60.21, 298.65°)
OKLaboklab(36.54% 0.0033 -0.1527)
OKLCHoklch(36.54% 0.153 271.2)
XYZxyz(6.6260, 4.4296, 25.6999)
Luminance0.0443 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25308D #8D8225
analogous
#25648D #25308D #4E258D
triadic
#25308D #8D2530 #308D25
tetradic
#25308D #8D2564 #8D8225 #258D4E
square
#25308D #8D2564 #8D8225 #258D4E
split-complementary
#25308D #8D4E25 #648D25
monochromatic
#0C0F2C #181F5D #25308D #3241BD #5966D3

Accessibility & contrast

On white

11.13
#25308D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#25308D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25308D
11.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25308D#FFFFFF#000000##FFFFFF
##25308D1.0011.131.8911.13
#FFFFFF11.131.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004090
Deuteranopia (green-blind)
#00378B
Tritanopia (blue-blind)
#00485A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25308d;
/* rgb */ color: rgb(37, 48, 141);
/* oklch */ color: oklch(36.5% 0.153 271.2);
Tailwind
colors: {
  custom: {
    50: '#7068af',
    500: '#25308d',
    950: '#000000',
  },
}
SCSS
$custom: #25308d;
$custom-light: #7068af;
$custom-dark: #000000;
JSON
{
  "hex": "#25308d",
  "rgb": {
    "r": 37,
    "g": 48,
    "b": 141
  },
  "hsl": {
    "h": 233.654,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36539,
    "c": 0.15271,
    "h": 271.2
  },
  "luminance": 0.0443
}

Semantic roles & 50–950 ramp

primary
#25308D
secondary
#B8AE56
accent
#D146E2
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #25308D

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

Preview Lab → · Contrast checker → · Palette generator →

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