#25288D#25288D

#25288D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.1% C 0.162 H 273.0°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#25288D
RGBrgb(37, 40, 141)
HSLhsl(238, 58%, 35%)
HSVhsv(238, 74%, 55%)
CMYKcmyk(73.8%, 71.6%, 0%, 44.7%)
CIE-LABlab(23.11, 34.06, -56.01)
CIE-LCHlch(23.11, 65.55, 301.30°)
OKLaboklab(35.14% 0.0086 -0.162)
OKLCHoklch(35.14% 0.162 273)
XYZxyz(6.3278, 3.8334, 25.6006)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25288D #8D8A25
analogous
#255C8D #25288D #56258D
triadic
#25288D #8D2528 #288D25
tetradic
#25288D #8D255C #8D8A25 #258D56
square
#25288D #8D255C #8D8A25 #258D56
split-complementary
#25288D #8D5625 #5C8D25
monochromatic
#0C0C2C #181A5D #25288D #3236BD #595DD3

Accessibility & contrast

On white

11.89
#25288D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#25288D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25288D
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25288D#FFFFFF#000000##FFFFFF
##25288D1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25288d;
/* rgb */ color: rgb(37, 40, 141);
/* oklch */ color: oklch(35.1% 0.162 273.0);
Tailwind
colors: {
  custom: {
    50: '#7063af',
    500: '#25288d',
    950: '#000000',
  },
}
SCSS
$custom: #25288d;
$custom-light: #7063af;
$custom-dark: #000000;
JSON
{
  "hex": "#25288d",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 141
  },
  "hsl": {
    "h": 238.269,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35137,
    "c": 0.1622,
    "h": 273
  },
  "luminance": 0.03834
}

Semantic roles & 50–950 ramp

primary
#25288D
secondary
#B8B556
accent
#DD46E2
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #25288D

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

Preview Lab → · Contrast checker → · Palette generator →

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