#25286F#25286F

#25286F is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.2% C 0.120 H 275.5°. Best body text is #FFFFFF at 13.03:1 contrast (WCAG AA passes).

Color values

HEX#25286F
RGBrgb(37, 40, 111)
HSLhsl(238, 50%, 29%)
HSVhsv(238, 67%, 44%)
CMYKcmyk(66.7%, 64%, 0%, 56.5%)
CIE-LABlab(20.28, 23.04, -41.65)
CIE-LCHlch(20.28, 47.59, 298.95°)
OKLaboklab(32.2% 0.0115 -0.1199)
OKLCHoklch(32.2% 0.12 275.5)
XYZxyz(4.3900, 3.0582, 15.3948)
Luminance0.0306 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25286F #6F6C25
analogous
#254D6F #25286F #47256F
triadic
#25286F #6F2528 #286F25
tetradic
#25286F #6F254D #6F6C25 #256F47
square
#25286F #6F254D #6F6C25 #256F47
split-complementary
#25286F #6F4725 #4D6F25
monochromatic
#080817 #161741 #25286F #34399D #4B50C3

Accessibility & contrast

On white

13.03
#25286F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#25286F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25286F
13.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25286F#FFFFFF#000000##FFFFFF
##25286F1.0013.031.6113.03
#FFFFFF13.031.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003471
Deuteranopia (green-blind)
#002E6E
Tritanopia (blue-blind)
#003A47
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #25286f;
/* rgb */ color: rgb(37, 40, 111);
/* oklch */ color: oklch(32.2% 0.120 275.5);
Tailwind
colors: {
  custom: {
    50: '#696299',
    500: '#25286f',
    950: '#000000',
  },
}
SCSS
$custom: #25286f;
$custom-light: #696299;
$custom-dark: #000000;
JSON
{
  "hex": "#25286f",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 111
  },
  "hsl": {
    "h": 237.568,
    "s": 50,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32201,
    "c": 0.12047,
    "h": 275.5
  },
  "luminance": 0.03059
}

Semantic roles & 50–950 ramp

primary
#25286F
secondary
#A29E4E
accent
#D44EDA
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #25286F

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

Preview Lab → · Contrast checker → · Palette generator →

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