#25279B#25279B

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

Color values

HEX#25279B
RGBrgb(37, 39, 155)
HSLhsl(239, 61%, 38%)
HSVhsv(239, 76%, 61%)
CMYKcmyk(76.1%, 74.8%, 0%, 39.2%)
CIE-LABlab(24.35, 39.59, -62.60)
CIE-LCHlch(24.35, 74.06, 302.31°)
OKLaboklab(36.46% 0.0069 -0.1812)
OKLCHoklch(36.46% 0.181 272.2)
XYZxyz(7.4029, 4.2101, 31.4265)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25279B #9B9925
analogous
#25629B #25279B #5E259B
triadic
#25279B #9B2527 #279B25
tetradic
#25279B #9B2562 #9B9925 #259B5E
square
#25279B #9B2562 #9B9925 #259B5E
split-complementary
#25279B #9B5E25 #629B25
monochromatic
#0D0E38 #191B6A #25279B #3133CC #6163D9

Accessibility & contrast

On white

11.40
#25279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25279B
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25279B#FFFFFF#000000##FFFFFF
##25279B1.0011.401.8411.40
#FFFFFF11.401.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25279b;
/* rgb */ color: rgb(37, 39, 155);
/* oklch */ color: oklch(36.5% 0.181 272.2);
Tailwind
colors: {
  custom: {
    50: '#7462ba',
    500: '#25279b',
    950: '#000000',
  },
}
SCSS
$custom: #25279b;
$custom-light: #7462ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25279b",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 238.983,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.36463,
    "c": 0.1813,
    "h": 272.2
  },
  "luminance": 0.04211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25279B

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

Preview Lab → · Contrast checker → · Palette generator →

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