#25279D#25279D

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

Color values

HEX#25279D
RGBrgb(37, 39, 157)
HSLhsl(239, 62%, 38%)
HSVhsv(239, 76%, 62%)
CMYKcmyk(76.4%, 75.2%, 0%, 38.4%)
CIE-LABlab(24.57, 40.28, -63.46)
CIE-LCHlch(24.57, 75.17, 302.40°)
OKLaboklab(36.68% 0.0065 -0.1837)
OKLCHoklch(36.68% 0.184 272)
XYZxyz(7.5722, 4.2779, 32.3184)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25279D #9D9B25
analogous
#25639D #25279D #5F259D
triadic
#25279D #9D2527 #279D25
tetradic
#25279D #9D2563 #9D9B25 #259D5F
square
#25279D #9D2563 #9D9B25 #259D5F
split-complementary
#25279D #9D5F25 #639D25
monochromatic
#0E0E3A #191B6B #25279D #3133CE #6264DA

Accessibility & contrast

On white

11.32
#25279D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#25279D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25279D
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25279D#FFFFFF#000000##FFFFFF
##25279D1.0011.321.8611.32
#FFFFFF11.321.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A0
Deuteranopia (green-blind)
#00349B
Tritanopia (blue-blind)
#004960
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #25279d;
/* rgb */ color: rgb(37, 39, 157);
/* oklch */ color: oklch(36.7% 0.184 272.0);
Tailwind
colors: {
  custom: {
    50: '#7463bb',
    500: '#25279d',
    950: '#000000',
  },
}
SCSS
$custom: #25279d;
$custom-light: #7463bb;
$custom-dark: #000000;
JSON
{
  "hex": "#25279d",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 157
  },
  "hsl": {
    "h": 239,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.3668,
    "c": 0.18382,
    "h": 272
  },
  "luminance": 0.04279
}

Semantic roles & 50–950 ramp

primary
#25279D
secondary
#BFBE5E
accent
#E243E5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25279D

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

Preview Lab → · Contrast checker → · Palette generator →

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