#25286B#25286B

#25286B is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.8% C 0.115 H 275.8°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#25286B
RGBrgb(37, 40, 107)
HSLhsl(237, 49%, 28%)
HSVhsv(237, 65%, 42%)
CMYKcmyk(65.4%, 62.6%, 0%, 58%)
CIE-LABlab(19.93, 21.54, -39.62)
CIE-LCHlch(19.93, 45.09, 298.53°)
OKLaboklab(31.84% 0.0116 -0.1139)
OKLCHoklch(31.84% 0.115 275.8)
XYZxyz(4.1747, 2.9721, 14.2607)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25286B #6B6825
analogous
#254B6B #25286B #45256B
triadic
#25286B #6B2528 #286B25
tetradic
#25286B #6B254B #6B6825 #256B45
square
#25286B #6B254B #6B6825 #256B45
split-complementary
#25286B #6B4525 #4B6B25
monochromatic
#080817 #15173E #25286B #353998 #4A4FC0

Accessibility & contrast

On white

13.17
#25286B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#25286B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25286B
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25286B#FFFFFF#000000##FFFFFF
##25286B1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336D
Deuteranopia (green-blind)
#002D6A
Tritanopia (blue-blind)
#003845
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #25286b;
/* rgb */ color: rgb(37, 40, 107);
/* oklch */ color: oklch(31.8% 0.115 275.8);
Tailwind
colors: {
  custom: {
    50: '#686296',
    500: '#25286b',
    950: '#000000',
  },
}
SCSS
$custom: #25286b;
$custom-light: #686296;
$custom-dark: #000000;
JSON
{
  "hex": "#25286b",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 107
  },
  "hsl": {
    "h": 237.429,
    "s": 48.611,
    "l": 28.235
  },
  "oklch": {
    "l": 0.3184,
    "c": 0.11454,
    "h": 275.8
  },
  "luminance": 0.02972
}

Semantic roles & 50–950 ramp

primary
#25286B
secondary
#9E9B4E
accent
#D250D8
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050D
muted
#7A797E

Preview Lab

Preview with #25286B

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

Preview Lab → · Contrast checker → · Palette generator →

#25286B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva