#25259C#25259C

#25259C is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.185 H 272.4°. Best body text is #FFFFFF at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#25259C
RGBrgb(37, 37, 156)
HSLhsl(240, 62%, 38%)
HSVhsv(240, 76%, 61%)
CMYKcmyk(76.3%, 76.3%, 0%, 38.8%)
CIE-LABlab(24.05, 41.09, -63.71)
CIE-LCHlch(24.05, 75.81, 302.82°)
OKLaboklab(36.28% 0.0076 -0.1844)
OKLCHoklch(36.28% 0.185 272.4)
XYZxyz(7.4232, 4.1160, 31.8493)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25259C #9C9C25
analogous
#25609C #25259C #60259C
triadic
#25259C #9C2525 #259C25
tetradic
#25259C #9C2560 #9C9C25 #259C60
square
#25259C #9C2560 #9C9C25 #259C60
split-complementary
#25259C #9C6025 #609C25
monochromatic
#0E0E39 #19196B #25259C #3131CD #6262DA

Accessibility & contrast

On white

11.52
#25259C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#25259C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25259C
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25259C#FFFFFF#000000##FFFFFF
##25259C1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00339A
Tritanopia (blue-blind)
#00485F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #25259c;
/* rgb */ color: rgb(37, 37, 156);
/* oklch */ color: oklch(36.3% 0.185 272.4);
Tailwind
colors: {
  custom: {
    50: '#7461ba',
    500: '#25259c',
    950: '#000000',
  },
}
SCSS
$custom: #25259c;
$custom-light: #7461ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25259c",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 156
  },
  "hsl": {
    "h": 240,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.3628,
    "c": 0.18455,
    "h": 272.4
  },
  "luminance": 0.04117
}

Semantic roles & 50–950 ramp

primary
#25259C
secondary
#BFBF5E
accent
#E543E5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25259C

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

Preview Lab → · Contrast checker → · Palette generator →

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