#25289E#25289E

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

Color values

HEX#25289E
RGBrgb(37, 40, 158)
HSLhsl(239, 62%, 38%)
HSVhsv(239, 77%, 62%)
CMYKcmyk(76.6%, 74.7%, 0%, 38%)
CIE-LABlab(24.89, 40.03, -63.55)
CIE-LCHlch(24.89, 75.11, 302.21°)
OKLaboklab(36.94% 0.0059 -0.184)
OKLCHoklch(36.94% 0.184 271.8)
XYZxyz(7.6912, 4.3787, 32.7809)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25289E #9E9B25
analogous
#25659E #25289E #5E259E
triadic
#25289E #9E2528 #289E25
tetradic
#25289E #9E2565 #9E9B25 #259E5E
square
#25289E #9E2565 #9E9B25 #259E5E
split-complementary
#25289E #9E5E25 #659E25
monochromatic
#0E0F3B #191B6C #25289E #3135CF #6366DA

Accessibility & contrast

On white

11.19
#25289E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25289E
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25289E#FFFFFF#000000##FFFFFF
##25289E1.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A1
Deuteranopia (green-blind)
#00359C
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25289e;
/* rgb */ color: rgb(37, 40, 158);
/* oklch */ color: oklch(36.9% 0.184 271.8);
Tailwind
colors: {
  custom: {
    50: '#7563bc',
    500: '#25289e',
    950: '#000000',
  },
}
SCSS
$custom: #25289e;
$custom-light: #7563bc;
$custom-dark: #000000;
JSON
{
  "hex": "#25289e",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 158
  },
  "hsl": {
    "h": 238.512,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.36937,
    "c": 0.18405,
    "h": 271.8
  },
  "luminance": 0.0438
}

Semantic roles & 50–950 ramp

primary
#25289E
secondary
#C0BD5F
accent
#E143E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #25289E

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

Preview Lab → · Contrast checker → · Palette generator →

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