#25279F#25279F

#25279F is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.9% C 0.186 H 271.9°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#25279F
RGBrgb(37, 39, 159)
HSLhsl(239, 62%, 38%)
HSVhsv(239, 77%, 62%)
CMYKcmyk(76.7%, 75.5%, 0%, 37.6%)
CIE-LABlab(24.79, 40.96, -64.33)
CIE-LCHlch(24.79, 76.26, 302.49°)
OKLaboklab(36.9% 0.0062 -0.1862)
OKLCHoklch(36.9% 0.186 271.9)
XYZxyz(7.7444, 4.3467, 33.2250)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25279F #9F9D25
analogous
#25649F #25279F #60259F
triadic
#25279F #9F2527 #279F25
tetradic
#25279F #9F2564 #9F9D25 #259F60
square
#25279F #9F2564 #9F9D25 #259F60
split-complementary
#25279F #9F6025 #649F25
monochromatic
#0E0F3C #191B6D #25279F #3235CF #6466DB

Accessibility & contrast

On white

11.23
#25279F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#25279F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25279F
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25279F#FFFFFF#000000##FFFFFF
##25279F1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#00359D
Tritanopia (blue-blind)
#004A61
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #25279f;
/* rgb */ color: rgb(37, 39, 159);
/* oklch */ color: oklch(36.9% 0.186 271.9);
Tailwind
colors: {
  custom: {
    50: '#7563bd',
    500: '#25279f',
    950: '#000000',
  },
}
SCSS
$custom: #25279f;
$custom-light: #7563bd;
$custom-dark: #000000;
JSON
{
  "hex": "#25279f",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 159
  },
  "hsl": {
    "h": 239.016,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.36898,
    "c": 0.18631,
    "h": 271.9
  },
  "luminance": 0.04348
}

Semantic roles & 50–950 ramp

primary
#25279F
secondary
#C0BF5F
accent
#E342E5
background
#F7F5FB
surface
#EEEAF7
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25279F

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

Preview Lab → · Contrast checker → · Palette generator →

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