#25277D#25277D

#25277D is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.3% C 0.142 H 274.6°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#25277D
RGBrgb(37, 39, 125)
HSLhsl(239, 54%, 32%)
HSVhsv(239, 70%, 49%)
CMYKcmyk(70.4%, 68.8%, 0%, 51%)
CIE-LABlab(21.30, 28.90, -48.94)
CIE-LCHlch(21.30, 56.83, 300.57°)
OKLaboklab(33.35% 0.0113 -0.1413)
OKLCHoklch(33.35% 0.142 274.6)
XYZxyz(5.1889, 3.3245, 19.7663)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25277D #7D7B25
analogous
#25537D #25277D #4F257D
triadic
#25277D #7D2527 #277D25
tetradic
#25277D #7D2553 #7D7B25 #257D4F
square
#25277D #7D2553 #7D7B25 #257D4F
split-complementary
#25277D #7D4F25 #537D25
monochromatic
#090A1F #17184E #25277D #3336AC #5154CB

Accessibility & contrast

On white

12.61
#25277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25277D
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25277D#FFFFFF#000000##FFFFFF
##25277D1.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003780
Deuteranopia (green-blind)
#002F7B
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #25277d;
/* rgb */ color: rgb(37, 39, 125);
/* oklch */ color: oklch(33.3% 0.142 274.6);
Tailwind
colors: {
  custom: {
    50: '#6c61a3',
    500: '#25277d',
    950: '#000000',
  },
}
SCSS
$custom: #25277d;
$custom-light: #6c61a3;
$custom-dark: #000000;
JSON
{
  "hex": "#25277d",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 238.636,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33346,
    "c": 0.14175,
    "h": 274.6
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#25277D
secondary
#AFAD4F
accent
#DA4ADE
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #25277D

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

Preview Lab → · Contrast checker → · Palette generator →

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