#25276D#25276D

#25276D is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.8% C 0.119 H 276.0°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#25276D
RGBrgb(37, 39, 109)
HSLhsl(238, 49%, 29%)
HSVhsv(238, 66%, 43%)
CMYKcmyk(66.1%, 64.2%, 0%, 57.3%)
CIE-LABlab(19.83, 22.98, -41.07)
CIE-LCHlch(19.83, 47.06, 299.23°)
OKLaboklab(31.82% 0.0125 -0.1182)
OKLCHoklch(31.82% 0.119 276)
XYZxyz(4.2479, 2.9481, 14.8102)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25276D #6D6B25
analogous
#254B6D #25276D #47256D
triadic
#25276D #6D2527 #276D25
tetradic
#25276D #6D254B #6D6B25 #256D47
square
#25276D #6D254B #6D6B25 #256D47
split-complementary
#25276D #6D4725 #4B6D25
monochromatic
#080817 #15173F #25276D #35379B #4B4EC2

Accessibility & contrast

On white

13.21
#25276D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#25276D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25276D
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25276D#FFFFFF#000000##FFFFFF
##25276D1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336F
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#003846
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #25276d;
/* rgb */ color: rgb(37, 39, 109);
/* oklch */ color: oklch(31.8% 0.119 276.0);
Tailwind
colors: {
  custom: {
    50: '#696197',
    500: '#25276d',
    950: '#000000',
  },
}
SCSS
$custom: #25276d;
$custom-light: #696197;
$custom-dark: #000000;
JSON
{
  "hex": "#25276d",
  "rgb": {
    "r": 37,
    "g": 39,
    "b": 109
  },
  "hsl": {
    "h": 238.333,
    "s": 49.315,
    "l": 28.627
  },
  "oklch": {
    "l": 0.31822,
    "c": 0.11889,
    "h": 276
  },
  "luminance": 0.02948
}

Semantic roles & 50–950 ramp

primary
#25276D
secondary
#A09E4E
accent
#D54FD9
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #25276D

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

Preview Lab → · Contrast checker → · Palette generator →

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