#25288E#25288E

#25288E is a dark, vivid blue. Relative luminance 0.039; OKLCH L 35.2% C 0.164 H 273.0°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#25288E
RGBrgb(37, 40, 142)
HSLhsl(238, 59%, 35%)
HSVhsv(238, 74%, 56%)
CMYKcmyk(73.9%, 71.8%, 0%, 44.3%)
CIE-LABlab(23.21, 34.42, -56.46)
CIE-LCHlch(23.21, 66.12, 301.37°)
OKLaboklab(35.24% 0.0084 -0.1633)
OKLCHoklch(35.24% 0.164 273)
XYZxyz(6.4026, 3.8632, 25.9942)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25288E #8E8B25
analogous
#255C8E #25288E #57258E
triadic
#25288E #8E2528 #288E25
tetradic
#25288E #8E255C #8E8B25 #258E57
square
#25288E #8E255C #8E8B25 #258E57
split-complementary
#25288E #8E5725 #5C8E25
monochromatic
#0C0D2D #181A5D #25288E #3236BF #5A5DD4

Accessibility & contrast

On white

11.85
#25288E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25288E
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25288E#FFFFFF#000000##FFFFFF
##25288E1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #25288e;
/* rgb */ color: rgb(37, 40, 142);
/* oklch */ color: oklch(35.2% 0.164 273.0);
Tailwind
colors: {
  custom: {
    50: '#7163b0',
    500: '#25288e',
    950: '#000000',
  },
}
SCSS
$custom: #25288e;
$custom-light: #7163b0;
$custom-dark: #000000;
JSON
{
  "hex": "#25288e",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 142
  },
  "hsl": {
    "h": 238.286,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.3524,
    "c": 0.16352,
    "h": 273
  },
  "luminance": 0.03864
}

Semantic roles & 50–950 ramp

primary
#25288E
secondary
#B9B656
accent
#DD46E2
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #25288E

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

Preview Lab → · Contrast checker → · Palette generator →

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