#25278E#25278E

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

Color values

HEX#25278E
RGBrgb(37, 39, 142)
HSLhsl(239, 59%, 35%)
HSVhsv(239, 74%, 56%)
CMYKcmyk(73.9%, 72.5%, 0%, 44.3%)
CIE-LABlab(22.99, 35.04, -56.83)
CIE-LCHlch(22.99, 66.77, 301.66°)
OKLaboklab(35.08% 0.009 -0.1644)
OKLCHoklch(35.08% 0.165 273.1)
XYZxyz(6.3693, 3.7967, 25.9831)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25278E #8E8C25
analogous
#255C8E #25278E #57258E
triadic
#25278E #8E2527 #278E25
tetradic
#25278E #8E255C #8E8C25 #258E57
square
#25278E #8E255C #8E8C25 #258E57
split-complementary
#25278E #8E5725 #5C8E25
monochromatic
#0C0C2D #181A5D #25278E #3234BF #5A5CD4

Accessibility & contrast

On white

11.94
#25278E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#25278E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25278E
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25278E#FFFFFF#000000##FFFFFF
##25278E1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C91
Deuteranopia (green-blind)
#00328C
Tritanopia (blue-blind)
#004457
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #25278e;
/* rgb */ color: rgb(37, 39, 142);
/* oklch */ color: oklch(35.1% 0.165 273.1);
Tailwind
colors: {
  custom: {
    50: '#7162b0',
    500: '#25278e',
    950: '#000000',
  },
}
SCSS
$custom: #25278e;
$custom-light: #7162b0;
$custom-dark: #000000;
JSON
{
  "hex": "#25278e",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 238.857,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.35078,
    "c": 0.16463,
    "h": 273.1
  },
  "luminance": 0.03797
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25278E

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

Preview Lab → · Contrast checker → · Palette generator →

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