#25288C#25288C

#25288C is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.161 H 273.1°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#25288C
RGBrgb(37, 40, 140)
HSLhsl(238, 58%, 35%)
HSVhsv(238, 74%, 55%)
CMYKcmyk(73.6%, 71.4%, 0%, 45.1%)
CIE-LABlab(23.01, 33.70, -55.55)
CIE-LCHlch(23.01, 64.97, 301.24°)
OKLaboklab(35.03% 0.0087 -0.1606)
OKLCHoklch(35.03% 0.161 273.1)
XYZxyz(6.2538, 3.8037, 25.2105)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25288C #8C8925
analogous
#255C8C #25288C #55258C
triadic
#25288C #8C2528 #288C25
tetradic
#25288C #8C255C #8C8925 #258C55
square
#25288C #8C255C #8C8925 #258C55
split-complementary
#25288C #8C5525 #5C8C25
monochromatic
#0B0C2B #181A5C #25288C #3236BC #585CD3

Accessibility & contrast

On white

11.93
#25288C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#25288C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25288C
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25288C#FFFFFF#000000##FFFFFF
##25288C1.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00328A
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #25288c;
/* rgb */ color: rgb(37, 40, 140);
/* oklch */ color: oklch(35.0% 0.161 273.1);
Tailwind
colors: {
  custom: {
    50: '#7062af',
    500: '#25288c',
    950: '#000000',
  },
}
SCSS
$custom: #25288c;
$custom-light: #7062af;
$custom-dark: #000000;
JSON
{
  "hex": "#25288c",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 140
  },
  "hsl": {
    "h": 238.252,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35033,
    "c": 0.16088,
    "h": 273.1
  },
  "luminance": 0.03804
}

Semantic roles & 50–950 ramp

primary
#25288C
secondary
#B8B555
accent
#DD46E1
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090510
muted
#7B797F

Preview Lab

Preview with #25288C

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

Preview Lab → · Contrast checker → · Palette generator →

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