#25286E#25286E

#25286E is a dark, moderate blue. Relative luminance 0.030; OKLCH L 32.1% C 0.119 H 275.6°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#25286E
RGBrgb(37, 40, 110)
HSLhsl(238, 50%, 29%)
HSVhsv(238, 66%, 43%)
CMYKcmyk(66.4%, 63.6%, 0%, 56.9%)
CIE-LABlab(20.19, 22.66, -41.14)
CIE-LCHlch(20.19, 46.97, 298.85°)
OKLaboklab(32.11% 0.0115 -0.1184)
OKLCHoklch(32.11% 0.119 275.6)
XYZxyz(4.3353, 3.0363, 15.1064)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25286E #6E6B25
analogous
#254D6E #25286E #47256E
triadic
#25286E #6E2528 #286E25
tetradic
#25286E #6E254D #6E6B25 #256E47
square
#25286E #6E254D #6E6B25 #256E47
split-complementary
#25286E #6E4725 #4D6E25
monochromatic
#080817 #161740 #25286E #34399C #4B50C2

Accessibility & contrast

On white

13.06
#25286E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25286E
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25286E#FFFFFF#000000##FFFFFF
##25286E1.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003470
Deuteranopia (green-blind)
#002E6D
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #25286e;
/* rgb */ color: rgb(37, 40, 110);
/* oklch */ color: oklch(32.1% 0.119 275.6);
Tailwind
colors: {
  custom: {
    50: '#696298',
    500: '#25286e',
    950: '#000000',
  },
}
SCSS
$custom: #25286e;
$custom-light: #696298;
$custom-dark: #000000;
JSON
{
  "hex": "#25286e",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 110
  },
  "hsl": {
    "h": 237.534,
    "s": 49.66,
    "l": 28.824
  },
  "oklch": {
    "l": 0.3211,
    "c": 0.11899,
    "h": 275.6
  },
  "luminance": 0.03037
}

Semantic roles & 50–950 ramp

primary
#25286E
secondary
#A19D4E
accent
#D34FD9
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#07050E
muted
#7A797E

Preview Lab

Preview with #25286E

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

Preview Lab → · Contrast checker → · Palette generator →

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