#25277A#25277A

#25277A is a dark, vivid blue. Relative luminance 0.032; OKLCH L 33.1% C 0.138 H 274.8°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#25277A
RGBrgb(37, 39, 122)
HSLhsl(239, 53%, 31%)
HSVhsv(239, 70%, 48%)
CMYKcmyk(69.7%, 68%, 0%, 52.2%)
CIE-LABlab(21.01, 27.80, -47.50)
CIE-LCHlch(21.01, 55.03, 300.34°)
OKLaboklab(33.05% 0.0116 -0.1371)
OKLCHoklch(33.05% 0.138 274.8)
XYZxyz(5.0002, 3.2490, 18.7722)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25277A #7A7825
analogous
#25517A #25277A #4D257A
triadic
#25277A #7A2527 #277A25
tetradic
#25277A #7A2551 #7A7825 #257A4D
square
#25277A #7A2551 #7A7825 #257A4D
split-complementary
#25277A #7A4D25 #517A25
monochromatic
#09091C #17184B #25277A #3336A9 #5052CA

Accessibility & contrast

On white

12.73
#25277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#25277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25277A
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25277A#FFFFFF#000000##FFFFFF
##25277A1.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00367D
Deuteranopia (green-blind)
#002F78
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #25277a;
/* rgb */ color: rgb(37, 39, 122);
/* oklch */ color: oklch(33.1% 0.138 274.8);
Tailwind
colors: {
  custom: {
    50: '#6c61a1',
    500: '#25277a',
    950: '#000000',
  },
}
SCSS
$custom: #25277a;
$custom-light: #6c61a1;
$custom-dark: #000000;
JSON
{
  "hex": "#25277a",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 238.588,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33052,
    "c": 0.13757,
    "h": 274.8
  },
  "luminance": 0.03249
}

Semantic roles & 50–950 ramp

primary
#25277A
secondary
#ACAA4E
accent
#D94BDD
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#08050F
muted
#7A797F

Preview Lab

Preview with #25277A

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

Preview Lab → · Contrast checker → · Palette generator →

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