#25278F#25278F

#25278F is a dark, vivid blue. Relative luminance 0.038; OKLCH L 35.2% C 0.166 H 273.1°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#25278F
RGBrgb(37, 39, 143)
HSLhsl(239, 59%, 35%)
HSVhsv(239, 74%, 56%)
CMYKcmyk(74.1%, 72.7%, 0%, 43.9%)
CIE-LABlab(23.09, 35.39, -57.28)
CIE-LCHlch(23.09, 67.34, 301.71°)
OKLaboklab(35.18% 0.0089 -0.1657)
OKLCHoklch(35.18% 0.166 273.1)
XYZxyz(6.4447, 3.8269, 26.3803)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25278F #8F8D25
analogous
#255C8F #25278F #58258F
triadic
#25278F #8F2527 #278F25
tetradic
#25278F #8F255C #8F8D25 #258F58
square
#25278F #8F255C #8F8D25 #258F58
split-complementary
#25278F #8F5825 #5C8F25
monochromatic
#0C0C2E #181A5E #25278F #3234C0 #5A5CD4

Accessibility & contrast

On white

11.89
#25278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#25278F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25278F
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25278F#FFFFFF#000000##FFFFFF
##25278F1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00328D
Tritanopia (blue-blind)
#004458
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #25278f;
/* rgb */ color: rgb(37, 39, 143);
/* oklch */ color: oklch(35.2% 0.166 273.1);
Tailwind
colors: {
  custom: {
    50: '#7162b1',
    500: '#25278f',
    950: '#000000',
  },
}
SCSS
$custom: #25278f;
$custom-light: #7162b1;
$custom-dark: #000000;
JSON
{
  "hex": "#25278f",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 238.868,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.35183,
    "c": 0.16594,
    "h": 273.1
  },
  "luminance": 0.03828
}

Semantic roles & 50–950 ramp

primary
#25278F
secondary
#B9B757
accent
#DF46E2
background
#F7F5FB
surface
#EDEAF6
border
#C8C6D0
text
#090511
muted
#7B7980

Preview Lab

Preview with #25278F

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

Preview Lab → · Contrast checker → · Palette generator →

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