#25288A#25288A

#25288A is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.8% C 0.158 H 273.3°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#25288A
RGBrgb(37, 40, 138)
HSLhsl(238, 58%, 34%)
HSVhsv(238, 73%, 54%)
CMYKcmyk(73.2%, 71%, 0%, 45.9%)
CIE-LABlab(22.81, 32.98, -54.63)
CIE-LCHlch(22.81, 63.82, 301.12°)
OKLaboklab(34.83% 0.009 -0.158)
OKLCHoklch(34.83% 0.158 273.3)
XYZxyz(6.1077, 3.7453, 24.4409)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25288A #8A8725
analogous
#255B8A #25288A #55258A
triadic
#25288A #8A2528 #288A25
tetradic
#25288A #8A255B #8A8725 #258A55
square
#25288A #8A255B #8A8725 #258A55
split-complementary
#25288A #8A5525 #5B8A25
monochromatic
#0B0C29 #181A5A #25288A #3236BA #575BD2

Accessibility & contrast

On white

12.01
#25288A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#25288A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25288A
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25288A#FFFFFF#000000##FFFFFF
##25288A1.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8D
Deuteranopia (green-blind)
#003288
Tritanopia (blue-blind)
#004356
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #25288a;
/* rgb */ color: rgb(37, 40, 138);
/* oklch */ color: oklch(34.8% 0.158 273.3);
Tailwind
colors: {
  custom: {
    50: '#7062ad',
    500: '#25288a',
    950: '#000000',
  },
}
SCSS
$custom: #25288a;
$custom-light: #7062ad;
$custom-dark: #000000;
JSON
{
  "hex": "#25288a",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 138
  },
  "hsl": {
    "h": 238.218,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.34828,
    "c": 0.15822,
    "h": 273.3
  },
  "luminance": 0.03746
}

Semantic roles & 50–950 ramp

primary
#25288A
secondary
#B7B454
accent
#DC47E1
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#090510
muted
#7B797F

Preview Lab

Preview with #25288A

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

Preview Lab → · Contrast checker → · Palette generator →

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