#25287A#25287A

#25287A is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.2% C 0.136 H 274.5°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#25287A
RGBrgb(37, 40, 122)
HSLhsl(238, 53%, 31%)
HSVhsv(238, 70%, 48%)
CMYKcmyk(69.7%, 67.2%, 0%, 52.2%)
CIE-LABlab(21.27, 27.13, -47.08)
CIE-LCHlch(21.27, 54.34, 299.95°)
OKLaboklab(33.24% 0.0108 -0.1359)
OKLCHoklch(33.24% 0.136 274.5)
XYZxyz(5.0334, 3.3156, 18.7833)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25287A #7A7725
analogous
#25527A #25287A #4C257A
triadic
#25287A #7A2528 #287A25
tetradic
#25287A #7A2552 #7A7725 #257A4C
square
#25287A #7A2552 #7A7725 #257A4C
split-complementary
#25287A #7A4C25 #527A25
monochromatic
#09091C #17194B #25287A #3337A9 #5054CA

Accessibility & contrast

On white

12.63
#25287A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#25287A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25287A
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25287A#FFFFFF#000000##FFFFFF
##25287A1.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00377D
Deuteranopia (green-blind)
#002F78
Tritanopia (blue-blind)
#003D4D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #25287a;
/* rgb */ color: rgb(37, 40, 122);
/* oklch */ color: oklch(33.2% 0.136 274.5);
Tailwind
colors: {
  custom: {
    50: '#6c62a1',
    500: '#25287a',
    950: '#000000',
  },
}
SCSS
$custom: #25287a;
$custom-light: #6c62a1;
$custom-dark: #000000;
JSON
{
  "hex": "#25287a",
  "rgb": {
    "r": 37,
    "g": 40,
    "b": 122
  },
  "hsl": {
    "h": 237.882,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33235,
    "c": 0.1363,
    "h": 274.5
  },
  "luminance": 0.03316
}

Semantic roles & 50–950 ramp

primary
#25287A
secondary
#ACA94E
accent
#D84BDD
background
#F6F5FA
surface
#ECEAF3
border
#C7C6CD
text
#08050F
muted
#7A797F

Preview Lab

Preview with #25287A

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

Preview Lab → · Contrast checker → · Palette generator →

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