#25288B#25288B

#25288B is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.9% C 0.160 H 273.2°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#25288B
RGBrgb(37, 40, 139)
HSLhsl(238, 58%, 35%)
HSVhsv(238, 73%, 55%)
CMYKcmyk(73.4%, 71.2%, 0%, 45.5%)
CIE-LABlab(22.91, 33.34, -55.09)
CIE-LCHlch(22.91, 64.40, 301.18°)
OKLaboklab(34.93% 0.0089 -0.1593)
OKLCHoklch(34.93% 0.16 273.2)
XYZxyz(6.1804, 3.7744, 24.8239)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25288B #8B8825
analogous
#255B8B #25288B #55258B
triadic
#25288B #8B2528 #288B25
tetradic
#25288B #8B255B #8B8825 #258B55
square
#25288B #8B255B #8B8825 #258B55
split-complementary
#25288B #8B5525 #5B8B25
monochromatic
#0B0C2A #181A5B #25288B #3236BB #585BD3

Accessibility & contrast

On white

11.97
#25288B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25288B
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25288B#FFFFFF#000000##FFFFFF
##25288B1.0011.971.7611.97
#FFFFFF11.971.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8E
Deuteranopia (green-blind)
#003289
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #25288b;
/* rgb */ color: rgb(37, 40, 139);
/* oklch */ color: oklch(34.9% 0.160 273.2);
Tailwind
colors: {
  custom: {
    50: '#7062ae',
    500: '#25288b',
    950: '#000000',
  },
}
SCSS
$custom: #25288b;
$custom-light: #7062ae;
$custom-dark: #000000;
JSON
{
  "hex": "#25288b",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 139
  },
  "hsl": {
    "h": 238.235,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.34931,
    "c": 0.15955,
    "h": 273.2
  },
  "luminance": 0.03775
}

Semantic roles & 50–950 ramp

primary
#25288B
secondary
#B7B455
accent
#DD47E1
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #25288B

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

Preview Lab → · Contrast checker → · Palette generator →

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