#25299C#25299C

#25299C is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.9% C 0.180 H 271.8°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#25299C
RGBrgb(37, 41, 156)
HSLhsl(238, 62%, 38%)
HSVhsv(238, 76%, 61%)
CMYKcmyk(76.3%, 73.7%, 0%, 38.8%)
CIE-LABlab(24.89, 38.75, -62.33)
CIE-LCHlch(24.89, 73.39, 301.87°)
OKLaboklab(36.87% 0.0058 -0.1804)
OKLCHoklch(36.87% 0.181 271.8)
XYZxyz(7.5546, 4.3787, 31.8931)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25299C #9C9825
analogous
#25659C #25299C #5C259C
triadic
#25299C #9C2529 #299C25
tetradic
#25299C #9C2565 #9C9825 #259C5C
square
#25299C #9C2565 #9C9825 #259C5C
split-complementary
#25299C #9C5C25 #659C25
monochromatic
#0E0F39 #191C6B #25299C #3136CD #6266DA

Accessibility & contrast

On white

11.20
#25299C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25299C
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25299C#FFFFFF#000000##FFFFFF
##25299C1.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25299c;
/* rgb */ color: rgb(37, 41, 156);
/* oklch */ color: oklch(36.9% 0.180 271.8);
Tailwind
colors: {
  custom: {
    50: '#7464ba',
    500: '#25299c',
    950: '#000000',
  },
}
SCSS
$custom: #25299c;
$custom-light: #7464ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25299c",
  "rgb": {
    "r": 37,
    "g": 41,
    "b": 156
  },
  "hsl": {
    "h": 237.983,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36873,
    "c": 0.1805,
    "h": 271.8
  },
  "luminance": 0.04379
}

Semantic roles & 50–950 ramp

primary
#25299C
secondary
#BFBC5E
accent
#DF43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #25299C

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

Preview Lab → · Contrast checker → · Palette generator →

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