#25289C#25289C

#25289C is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.7% C 0.182 H 272.0°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#25289C
RGBrgb(37, 40, 156)
HSLhsl(238, 62%, 38%)
HSVhsv(238, 76%, 61%)
CMYKcmyk(76.3%, 74.4%, 0%, 38.8%)
CIE-LABlab(24.67, 39.34, -62.68)
CIE-LCHlch(24.67, 74.01, 302.11°)
OKLaboklab(36.72% 0.0062 -0.1814)
OKLCHoklch(36.72% 0.182 272)
XYZxyz(7.5205, 4.3104, 31.8817)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25289C #9C9925
analogous
#25649C #25289C #5D259C
triadic
#25289C #9C2528 #289C25
tetradic
#25289C #9C2564 #9C9925 #259C5D
square
#25289C #9C2564 #9C9925 #259C5D
split-complementary
#25289C #9C5D25 #649C25
monochromatic
#0E0F39 #191B6B #25289C #3135CD #6265DA

Accessibility & contrast

On white

11.28
#25289C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#25289C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25289C
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25289C#FFFFFF#000000##FFFFFF
##25289C1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00359A
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25289c;
/* rgb */ color: rgb(37, 40, 156);
/* oklch */ color: oklch(36.7% 0.182 272.0);
Tailwind
colors: {
  custom: {
    50: '#7463ba',
    500: '#25289c',
    950: '#000000',
  },
}
SCSS
$custom: #25289c;
$custom-light: #7463ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25289c",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 156
  },
  "hsl": {
    "h": 238.487,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36721,
    "c": 0.18154,
    "h": 272
  },
  "luminance": 0.04311
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25289C

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

Preview Lab → · Contrast checker → · Palette generator →

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