#25287D#25287D

#25287D is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.5% C 0.141 H 274.3°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#25287D
RGBrgb(37, 40, 125)
HSLhsl(238, 54%, 32%)
HSVhsv(238, 70%, 49%)
CMYKcmyk(70.4%, 68%, 0%, 51%)
CIE-LABlab(21.55, 28.24, -48.53)
CIE-LCHlch(21.55, 56.15, 300.20°)
OKLaboklab(33.53% 0.0105 -0.1401)
OKLCHoklch(33.53% 0.141 274.3)
XYZxyz(5.2222, 3.3911, 19.7774)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25287D #7D7A25
analogous
#25547D #25287D #4E257D
triadic
#25287D #7D2528 #287D25
tetradic
#25287D #7D2554 #7D7A25 #257D4E
square
#25287D #7D2554 #7D7A25 #257D4E
split-complementary
#25287D #7D4E25 #547D25
monochromatic
#090A1F #17194E #25287D #3337AC #5155CB

Accessibility & contrast

On white

12.51
#25287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#25287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25287D
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25287D#FFFFFF#000000##FFFFFF
##25287D1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003880
Deuteranopia (green-blind)
#00307B
Tritanopia (blue-blind)
#003E4E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #25287d;
/* rgb */ color: rgb(37, 40, 125);
/* oklch */ color: oklch(33.5% 0.141 274.3);
Tailwind
colors: {
  custom: {
    50: '#6c62a3',
    500: '#25287d',
    950: '#000000',
  },
}
SCSS
$custom: #25287d;
$custom-light: #6c62a3;
$custom-dark: #000000;
JSON
{
  "hex": "#25287d",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 237.955,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.33526,
    "c": 0.1405,
    "h": 274.3
  },
  "luminance": 0.03392
}

Semantic roles & 50–950 ramp

primary
#25287D
secondary
#AFAC4F
accent
#D94ADE
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#08050F
muted
#7A797F

Preview Lab

Preview with #25287D

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

Preview Lab → · Contrast checker → · Palette generator →

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