#25378C#25378C

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

Color values

HEX#25378C
RGBrgb(37, 55, 140)
HSLhsl(230, 58%, 35%)
HSVhsv(230, 74%, 55%)
CMYKcmyk(73.6%, 60.7%, 0%, 45.1%)
CIE-LABlab(26.79, 23.76, -49.37)
CIE-LCHlch(26.79, 54.79, 295.70°)
OKLaboklab(37.8% -0.0019 -0.1424)
OKLCHoklch(37.8% 0.142 269.2)
XYZxyz(6.8611, 5.0184, 25.4129)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25378C #8C7A25
analogous
#256A8C #25378C #47258C
triadic
#25378C #8C2537 #378C25
tetradic
#25378C #8C256A #8C7A25 #258C47
square
#25378C #8C256A #8C7A25 #258C47
split-complementary
#25378C #8C4725 #6A8C25
monochromatic
#0B112B #18245C #25378C #324ABC #586ED3

Accessibility & contrast

On white

10.48
#25378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25378C
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25378C#FFFFFF#000000##FFFFFF
##25378C1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448F
Deuteranopia (green-blind)
#003B8A
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #25378c;
/* rgb */ color: rgb(37, 55, 140);
/* oklch */ color: oklch(37.8% 0.142 269.2);
Tailwind
colors: {
  custom: {
    50: '#6f6dae',
    500: '#25378c',
    950: '#000000',
  },
}
SCSS
$custom: #25378c;
$custom-light: #6f6dae;
$custom-dark: #000000;
JSON
{
  "hex": "#25378c",
  "rgb": {
    "r": 37,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 229.515,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.378,
    "c": 0.14244,
    "h": 269.2
  },
  "luminance": 0.05019
}

Semantic roles & 50–950 ramp

primary
#25378C
secondary
#B8A655
accent
#C646E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #25378C

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

Preview Lab → · Contrast checker → · Palette generator →

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