#25289F#25289F

#25289F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.0% C 0.185 H 271.8°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#25289F
RGBrgb(37, 40, 159)
HSLhsl(239, 62%, 38%)
HSVhsv(239, 77%, 62%)
CMYKcmyk(76.7%, 74.8%, 0%, 37.6%)
CIE-LABlab(24.99, 40.38, -63.98)
CIE-LCHlch(24.99, 75.66, 302.25°)
OKLaboklab(37.05% 0.0057 -0.1852)
OKLCHoklch(37.05% 0.185 271.8)
XYZxyz(7.7776, 4.4133, 33.2361)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25289F #9F9C25
analogous
#25659F #25289F #5F259F
triadic
#25289F #9F2528 #289F25
tetradic
#25289F #9F2565 #9F9C25 #259F5F
square
#25289F #9F2565 #9F9C25 #259F5F
split-complementary
#25289F #9F5F25 #659F25
monochromatic
#0E0F3C #191C6D #25289F #3236CF #6466DB

Accessibility & contrast

On white

11.15
#25289F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#25289F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25289F
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25289F#FFFFFF#000000##FFFFFF
##25289F1.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25289f;
/* rgb */ color: rgb(37, 40, 159);
/* oklch */ color: oklch(37.0% 0.185 271.8);
Tailwind
colors: {
  custom: {
    50: '#7563bd',
    500: '#25289f',
    950: '#000000',
  },
}
SCSS
$custom: #25289f;
$custom-light: #7563bd;
$custom-dark: #000000;
JSON
{
  "hex": "#25289f",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 159
  },
  "hsl": {
    "h": 238.525,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37045,
    "c": 0.18531,
    "h": 271.8
  },
  "luminance": 0.04414
}

Semantic roles & 50–950 ramp

primary
#25289F
secondary
#C0BE5F
accent
#E142E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #25289F

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

Preview Lab → · Contrast checker → · Palette generator →

#25289F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva