#25286D#25286D

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

Color values

HEX#25286D
RGBrgb(37, 40, 109)
HSLhsl(238, 49%, 29%)
HSVhsv(238, 66%, 43%)
CMYKcmyk(66.1%, 63.3%, 0%, 57.3%)
CIE-LABlab(20.10, 22.29, -40.64)
CIE-LCHlch(20.10, 46.35, 298.74°)
OKLaboklab(32.02% 0.0115 -0.1169)
OKLCHoklch(32.02% 0.118 275.6)
XYZxyz(4.2812, 3.0147, 14.8213)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25286D #6D6A25
analogous
#254C6D #25286D #46256D
triadic
#25286D #6D2528 #286D25
tetradic
#25286D #6D254C #6D6A25 #256D46
square
#25286D #6D254C #6D6A25 #256D46
split-complementary
#25286D #6D4625 #4C6D25
monochromatic
#080817 #15173F #25286D #35399B #4B50C2

Accessibility & contrast

On white

13.10
#25286D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#25286D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25286D
13.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25286D#FFFFFF#000000##FFFFFF
##25286D1.0013.101.6013.10
#FFFFFF13.101.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00346F
Deuteranopia (green-blind)
#002D6C
Tritanopia (blue-blind)
#003946
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #25286d;
/* rgb */ color: rgb(37, 40, 109);
/* oklch */ color: oklch(32.0% 0.118 275.6);
Tailwind
colors: {
  custom: {
    50: '#696297',
    500: '#25286d',
    950: '#000000',
  },
}
SCSS
$custom: #25286d;
$custom-light: #696297;
$custom-dark: #000000;
JSON
{
  "hex": "#25286d",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 109
  },
  "hsl": {
    "h": 237.5,
    "s": 49.315,
    "l": 28.627
  },
  "oklch": {
    "l": 0.3202,
    "c": 0.11751,
    "h": 275.6
  },
  "luminance": 0.03015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25286D

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

Preview Lab → · Contrast checker → · Palette generator →

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