#25289D#25289D

#25289D is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.8% C 0.183 H 271.9°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#25289D
RGBrgb(37, 40, 157)
HSLhsl(239, 62%, 38%)
HSVhsv(239, 76%, 62%)
CMYKcmyk(76.4%, 74.5%, 0%, 38.4%)
CIE-LABlab(24.78, 39.69, -63.12)
CIE-LCHlch(24.78, 74.56, 302.16°)
OKLaboklab(36.83% 0.0061 -0.1827)
OKLCHoklch(36.83% 0.183 271.9)
XYZxyz(7.6055, 4.3444, 32.3295)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25289D #9D9A25
analogous
#25649D #25289D #5E259D
triadic
#25289D #9D2528 #289D25
tetradic
#25289D #9D2564 #9D9A25 #259D5E
square
#25289D #9D2564 #9D9A25 #259D5E
split-complementary
#25289D #9D5E25 #649D25
monochromatic
#0E0F3A #191B6B #25289D #3135CE #6265DA

Accessibility & contrast

On white

11.24
#25289D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#25289D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25289D
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25289D#FFFFFF#000000##FFFFFF
##25289D1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A0
Deuteranopia (green-blind)
#00359B
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25289d;
/* rgb */ color: rgb(37, 40, 157);
/* oklch */ color: oklch(36.8% 0.183 271.9);
Tailwind
colors: {
  custom: {
    50: '#7463bb',
    500: '#25289d',
    950: '#000000',
  },
}
SCSS
$custom: #25289d;
$custom-light: #7463bb;
$custom-dark: #000000;
JSON
{
  "hex": "#25289d",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 157
  },
  "hsl": {
    "h": 238.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.36829,
    "c": 0.1828,
    "h": 271.9
  },
  "luminance": 0.04345
}

Semantic roles & 50–950 ramp

primary
#25289D
secondary
#BFBD5E
accent
#E143E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0512
muted
#7C7A81

Preview Lab

Preview with #25289D

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

Preview Lab → · Contrast checker → · Palette generator →

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