#25258C#25258C

#25258C is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.5% C 0.164 H 273.7°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#25258C
RGBrgb(37, 37, 140)
HSLhsl(240, 58%, 35%)
HSVhsv(240, 74%, 55%)
CMYKcmyk(73.6%, 73.6%, 0%, 45.1%)
CIE-LABlab(22.34, 35.56, -56.66)
CIE-LCHlch(22.34, 66.90, 302.11°)
OKLaboklab(34.55% 0.0105 -0.1639)
OKLCHoklch(34.55% 0.164 273.7)
XYZxyz(6.1566, 3.6093, 25.1781)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25258C #8C8C25
analogous
#25598C #25258C #59258C
triadic
#25258C #8C2525 #258C25
tetradic
#25258C #8C2559 #8C8C25 #258C59
square
#25258C #8C2559 #8C8C25 #258C59
split-complementary
#25258C #8C5925 #598C25
monochromatic
#0B0B2B #18185C #25258C #3232BC #5858D3

Accessibility & contrast

On white

12.20
#25258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#25258C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25258C
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25258C#FFFFFF#000000##FFFFFF
##25258C1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A8F
Deuteranopia (green-blind)
#00308A
Tritanopia (blue-blind)
#004256
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #25258c;
/* rgb */ color: rgb(37, 37, 140);
/* oklch */ color: oklch(34.5% 0.164 273.7);
Tailwind
colors: {
  custom: {
    50: '#7060af',
    500: '#25258c',
    950: '#000000',
  },
}
SCSS
$custom: #25258c;
$custom-light: #7060af;
$custom-dark: #000000;
JSON
{
  "hex": "#25258c",
  "rgb": {
    "r": 37,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 240,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.34548,
    "c": 0.16422,
    "h": 273.7
  },
  "luminance": 0.0361
}

Semantic roles & 50–950 ramp

primary
#25258C
secondary
#B8B855
accent
#E146E1
background
#F7F5FA
surface
#EDE9F5
border
#C8C5CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #25258C

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

Preview Lab → · Contrast checker → · Palette generator →

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