#25318A#25318A

#25318A is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.4% C 0.147 H 271.1°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).

Color values

HEX#25318A
RGBrgb(37, 49, 138)
HSLhsl(233, 58%, 34%)
HSVhsv(233, 73%, 54%)
CMYKcmyk(73.2%, 64.5%, 0%, 45.9%)
CIE-LABlab(25.03, 27.07, -51.00)
CIE-LCHlch(25.03, 57.74, 297.96°)
OKLaboklab(36.44% 0.0028 -0.1473)
OKLCHoklch(36.44% 0.147 271.1)
XYZxyz(6.4471, 4.4243, 24.5540)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25318A #8A7E25
analogous
#25648A #25318A #4C258A
triadic
#25318A #8A2531 #318A25
tetradic
#25318A #8A2564 #8A7E25 #258A4C
square
#25318A #8A2564 #8A7E25 #258A4C
split-complementary
#25318A #8A4C25 #648A25
monochromatic
#0B0F29 #18205A #25318A #3242BA #5766D2

Accessibility & contrast

On white

11.14
#25318A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#25318A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25318A
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25318A#FFFFFF#000000##FFFFFF
##25318A1.0011.141.8911.14
#FFFFFF11.141.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25318a;
/* rgb */ color: rgb(37, 49, 138);
/* oklch */ color: oklch(36.4% 0.147 271.1);
Tailwind
colors: {
  custom: {
    50: '#6f69ad',
    500: '#25318a',
    950: '#000000',
  },
}
SCSS
$custom: #25318a;
$custom-light: #6f69ad;
$custom-dark: #000000;
JSON
{
  "hex": "#25318a",
  "rgb": {
    "r": 37,
    "g": 49,
    "b": 138
  },
  "hsl": {
    "h": 232.871,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36443,
    "c": 0.14731,
    "h": 271.1
  },
  "luminance": 0.04425
}

Semantic roles & 50–950 ramp

primary
#25318A
secondary
#B7AB54
accent
#CF47E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #25318A

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

Preview Lab → · Contrast checker → · Palette generator →

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