#25278D#25278D

#25278D is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.0% C 0.163 H 273.2°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#25278D
RGBrgb(37, 39, 141)
HSLhsl(239, 58%, 35%)
HSVhsv(239, 74%, 55%)
CMYKcmyk(73.8%, 72.3%, 0%, 44.7%)
CIE-LABlab(22.89, 34.68, -56.38)
CIE-LCHlch(22.89, 66.19, 301.60°)
OKLaboklab(34.97% 0.0092 -0.1631)
OKLCHoklch(34.97% 0.163 273.2)
XYZxyz(6.2946, 3.7668, 25.5895)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25278D #8D8B25
analogous
#255B8D #25278D #57258D
triadic
#25278D #8D2527 #278D25
tetradic
#25278D #8D255B #8D8B25 #258D57
square
#25278D #8D255B #8D8B25 #258D57
split-complementary
#25278D #8D5725 #5B8D25
monochromatic
#0C0C2C #181A5D #25278D #3234BD #595BD3

Accessibility & contrast

On white

11.98
#25278D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#25278D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25278D
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25278D#FFFFFF#000000##FFFFFF
##25278D1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C90
Deuteranopia (green-blind)
#00328B
Tritanopia (blue-blind)
#004357
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #25278d;
/* rgb */ color: rgb(37, 39, 141);
/* oklch */ color: oklch(35.0% 0.163 273.2);
Tailwind
colors: {
  custom: {
    50: '#7062af',
    500: '#25278d',
    950: '#000000',
  },
}
SCSS
$custom: #25278d;
$custom-light: #7062af;
$custom-dark: #000000;
JSON
{
  "hex": "#25278d",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 141
  },
  "hsl": {
    "h": 238.846,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.34973,
    "c": 0.16332,
    "h": 273.2
  },
  "luminance": 0.03767
}

Semantic roles & 50–950 ramp

primary
#25278D
secondary
#B8B656
accent
#DF46E2
background
#F7F5FA
surface
#EDEAF5
border
#C8C6CF
text
#090511
muted
#7B7980

Preview Lab

Preview with #25278D

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

Preview Lab → · Contrast checker → · Palette generator →

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