#25279A#25279A

#25279A is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.4% C 0.180 H 272.2°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#25279A
RGBrgb(37, 39, 154)
HSLhsl(239, 61%, 37%)
HSVhsv(239, 76%, 60%)
CMYKcmyk(76%, 74.7%, 0%, 39.6%)
CIE-LABlab(24.25, 39.24, -62.16)
CIE-LCHlch(24.25, 73.51, 302.26°)
OKLaboklab(36.35% 0.0071 -0.1799)
OKLCHoklch(36.35% 0.18 272.2)
XYZxyz(7.3192, 4.1767, 30.9860)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25279A #9A9825
analogous
#25629A #25279A #5D259A
triadic
#25279A #9A2527 #279A25
tetradic
#25279A #9A2562 #9A9825 #259A5D
square
#25279A #9A2562 #9A9825 #259A5D
split-complementary
#25279A #9A5D25 #629A25
monochromatic
#0D0E37 #191B69 #25279A #3133CB #6063D9

Accessibility & contrast

On white

11.44
#25279A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#25279A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25279A
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25279A#FFFFFF#000000##FFFFFF
##25279A1.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9D
Deuteranopia (green-blind)
#003498
Tritanopia (blue-blind)
#00485E
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #25279a;
/* rgb */ color: rgb(37, 39, 154);
/* oklch */ color: oklch(36.4% 0.180 272.2);
Tailwind
colors: {
  custom: {
    50: '#7462b9',
    500: '#25279a',
    950: '#000000',
  },
}
SCSS
$custom: #25279a;
$custom-light: #7462b9;
$custom-dark: #000000;
JSON
{
  "hex": "#25279a",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 154
  },
  "hsl": {
    "h": 238.974,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.36355,
    "c": 0.18005,
    "h": 272.2
  },
  "luminance": 0.04177
}

Semantic roles & 50–950 ramp

primary
#25279A
secondary
#BEBC5D
accent
#E243E4
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #25279A

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

Preview Lab → · Contrast checker → · Palette generator →

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