#25287F#25287F

#25287F is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.7% C 0.143 H 274.1°. Best body text is #FFFFFF at 12.44:1 contrast (WCAG AA passes).

Color values

HEX#25287F
RGBrgb(37, 40, 127)
HSLhsl(238, 55%, 32%)
HSVhsv(238, 71%, 50%)
CMYKcmyk(70.9%, 68.5%, 0%, 50.2%)
CIE-LABlab(21.74, 28.98, -49.49)
CIE-LCHlch(21.74, 57.35, 300.35°)
OKLaboklab(33.72% 0.0103 -0.1429)
OKLCHoklch(33.72% 0.143 274.1)
XYZxyz(5.3512, 3.4427, 20.4571)
Luminance0.0344 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25287F #7F7C25
analogous
#25557F #25287F #4F257F
triadic
#25287F #7F2528 #287F25
tetradic
#25287F #7F2555 #7F7C25 #257F4F
square
#25287F #7F2555 #7F7C25 #257F4F
split-complementary
#25287F #7F4F25 #557F25
monochromatic
#090A20 #171950 #25287F #3337AE #5256CD

Accessibility & contrast

On white

12.44
#25287F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#25287F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25287F
12.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25287F#FFFFFF#000000##FFFFFF
##25287F1.0012.441.6912.44
#FFFFFF12.441.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003882
Deuteranopia (green-blind)
#00307D
Tritanopia (blue-blind)
#003F50
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #25287f;
/* rgb */ color: rgb(37, 40, 127);
/* oklch */ color: oklch(33.7% 0.143 274.1);
Tailwind
colors: {
  custom: {
    50: '#6d62a5',
    500: '#25287f',
    950: '#000000',
  },
}
SCSS
$custom: #25287f;
$custom-light: #6d62a5;
$custom-dark: #000000;
JSON
{
  "hex": "#25287f",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 127
  },
  "hsl": {
    "h": 238,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.33722,
    "c": 0.14328,
    "h": 274.1
  },
  "luminance": 0.03443
}

Semantic roles & 50–950 ramp

primary
#25287F
secondary
#B1AD4F
accent
#D94ADE
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#08050F
muted
#7B797F

Preview Lab

Preview with #25287F

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

Preview Lab → · Contrast checker → · Palette generator →

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