#25279C#25279C

#25279C is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.183 H 272.1°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#25279C
RGBrgb(37, 39, 156)
HSLhsl(239, 62%, 38%)
HSVhsv(239, 76%, 61%)
CMYKcmyk(76.3%, 75%, 0%, 38.8%)
CIE-LABlab(24.46, 39.93, -63.03)
CIE-LCHlch(24.46, 74.62, 302.36°)
OKLaboklab(36.57% 0.0067 -0.1824)
OKLCHoklch(36.57% 0.183 272.1)
XYZxyz(7.4872, 4.2439, 31.8706)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25279C #9C9A25
analogous
#25629C #25279C #5F259C
triadic
#25279C #9C2527 #279C25
tetradic
#25279C #9C2562 #9C9A25 #259C5F
square
#25279C #9C2562 #9C9A25 #259C5F
split-complementary
#25279C #9C5F25 #629C25
monochromatic
#0E0E39 #191B6B #25279C #3133CD #6264DA

Accessibility & contrast

On white

11.36
#25279C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#25279C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25279C
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25279C#FFFFFF#000000##FFFFFF
##25279C1.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00409F
Deuteranopia (green-blind)
#00349A
Tritanopia (blue-blind)
#00495F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #25279c;
/* rgb */ color: rgb(37, 39, 156);
/* oklch */ color: oklch(36.6% 0.183 272.1);
Tailwind
colors: {
  custom: {
    50: '#7463ba',
    500: '#25279c',
    950: '#000000',
  },
}
SCSS
$custom: #25279c;
$custom-light: #7463ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25279c",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 156
  },
  "hsl": {
    "h": 238.992,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.36571,
    "c": 0.18256,
    "h": 272.1
  },
  "luminance": 0.04245
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25279C

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

Preview Lab → · Contrast checker → · Palette generator →

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