#25378B#25378B

#25378B is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.7% C 0.141 H 269.2°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#25378B
RGBrgb(37, 55, 139)
HSLhsl(229, 58%, 35%)
HSVhsv(229, 73%, 55%)
CMYKcmyk(73.4%, 60.4%, 0%, 45.5%)
CIE-LABlab(26.70, 23.38, -48.88)
CIE-LCHlch(26.70, 54.19, 295.56°)
OKLaboklab(37.71% -0.0019 -0.141)
OKLCHoklch(37.71% 0.141 269.2)
XYZxyz(6.7877, 4.9891, 25.0264)
Luminance0.0499 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25378B #8B7925
analogous
#256A8B #25378B #46258B
triadic
#25378B #8B2537 #378B25
tetradic
#25378B #8B256A #8B7925 #258B46
square
#25378B #8B256A #8B7925 #258B46
split-complementary
#25378B #8B4625 #6A8B25
monochromatic
#0B112A #18245B #25378B #324ABB #586ED3

Accessibility & contrast

On white

10.51
#25378B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#25378B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25378B
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25378B#FFFFFF#000000##FFFFFF
##25378B1.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448E
Deuteranopia (green-blind)
#003B89
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #25378b;
/* rgb */ color: rgb(37, 55, 139);
/* oklch */ color: oklch(37.7% 0.141 269.2);
Tailwind
colors: {
  custom: {
    50: '#6e6dae',
    500: '#25378b',
    950: '#000000',
  },
}
SCSS
$custom: #25378b;
$custom-light: #6e6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#25378b",
  "rgb": {
    "r": 37,
    "g": 55,
    "b": 139
  },
  "hsl": {
    "h": 229.412,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.37711,
    "c": 0.14102,
    "h": 269.2
  },
  "luminance": 0.0499
}

Semantic roles & 50–950 ramp

primary
#25378B
secondary
#B7A655
accent
#C647E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #25378B

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

Preview Lab → · Contrast checker → · Palette generator →

#25378B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva