#25277E#25277E

#25277E is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.4% C 0.143 H 274.5°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#25277E
RGBrgb(37, 39, 126)
HSLhsl(239, 55%, 32%)
HSVhsv(239, 71%, 49%)
CMYKcmyk(70.6%, 69%, 0%, 50.6%)
CIE-LABlab(21.40, 29.27, -49.41)
CIE-LCHlch(21.40, 57.43, 300.64°)
OKLaboklab(33.45% 0.0112 -0.1427)
OKLCHoklch(33.45% 0.143 274.5)
XYZxyz(5.2531, 3.3502, 20.1044)
Luminance0.0335 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25277E #7E7C25
analogous
#25547E #25277E #50257E
triadic
#25277E #7E2527 #277E25
tetradic
#25277E #7E2554 #7E7C25 #257E50
square
#25277E #7E2554 #7E7C25 #257E50
split-complementary
#25277E #7E5025 #547E25
monochromatic
#090A1F #17184F #25277E #3336AD #5154CC

Accessibility & contrast

On white

12.57
#25277E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#25277E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25277E
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25277E#FFFFFF#000000##FFFFFF
##25277E1.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003781
Deuteranopia (green-blind)
#002F7C
Tritanopia (blue-blind)
#003E4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #25277e;
/* rgb */ color: rgb(37, 39, 126);
/* oklch */ color: oklch(33.4% 0.143 274.5);
Tailwind
colors: {
  custom: {
    50: '#6d61a4',
    500: '#25277e',
    950: '#000000',
  },
}
SCSS
$custom: #25277e;
$custom-light: #6d61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#25277e",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 126
  },
  "hsl": {
    "h": 238.652,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33445,
    "c": 0.14314,
    "h": 274.5
  },
  "luminance": 0.03351
}

Semantic roles & 50–950 ramp

primary
#25277E
secondary
#B0AE4F
accent
#DB4ADE
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #25277E

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

Preview Lab → · Contrast checker → · Palette generator →

#25277E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva