#25378D#25378D

#25378D is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.9% C 0.144 H 269.3°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#25378D
RGBrgb(37, 55, 141)
HSLhsl(230, 58%, 35%)
HSVhsv(230, 74%, 55%)
CMYKcmyk(73.8%, 61%, 0%, 44.7%)
CIE-LABlab(26.87, 24.14, -49.85)
CIE-LCHlch(26.87, 55.39, 295.84°)
OKLaboklab(37.89% -0.0019 -0.1438)
OKLCHoklch(37.89% 0.144 269.3)
XYZxyz(6.9352, 5.0481, 25.8030)
Luminance0.0505 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25378D #8D7B25
analogous
#256B8D #25378D #47258D
triadic
#25378D #8D2537 #378D25
tetradic
#25378D #8D256B #8D7B25 #258D47
square
#25378D #8D256B #8D7B25 #258D47
split-complementary
#25378D #8D4725 #6B8D25
monochromatic
#0C112C #18245D #25378D #324ABD #596ED3

Accessibility & contrast

On white

10.45
#25378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#25378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25378D
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25378D#FFFFFF#000000##FFFFFF
##25378D1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004490
Deuteranopia (green-blind)
#003B8B
Tritanopia (blue-blind)
#004D5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #25378d;
/* rgb */ color: rgb(37, 55, 141);
/* oklch */ color: oklch(37.9% 0.144 269.3);
Tailwind
colors: {
  custom: {
    50: '#6f6daf',
    500: '#25378d',
    950: '#000000',
  },
}
SCSS
$custom: #25378d;
$custom-light: #6f6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#25378d",
  "rgb": {
    "r": 37,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 229.615,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37889,
    "c": 0.14385,
    "h": 269.3
  },
  "luminance": 0.05049
}

Semantic roles & 50–950 ramp

primary
#25378D
secondary
#B8A756
accent
#C746E2
background
#F7F6FA
surface
#EDEBF5
border
#C8C6CF
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #25378D

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

Preview Lab → · Contrast checker → · Palette generator →

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