#25378F#25378F

#25378F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.1% C 0.147 H 269.3°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#25378F
RGBrgb(37, 55, 143)
HSLhsl(230, 59%, 35%)
HSVhsv(230, 74%, 56%)
CMYKcmyk(74.1%, 61.5%, 0%, 43.9%)
CIE-LABlab(27.04, 24.91, -50.81)
CIE-LCHlch(27.04, 56.59, 296.12°)
OKLaboklab(38.07% -0.0019 -0.1467)
OKLCHoklch(38.07% 0.147 269.3)
XYZxyz(7.0854, 5.1081, 26.5938)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25378F #8F7D25
analogous
#256C8F #25378F #48258F
triadic
#25378F #8F2537 #378F25
tetradic
#25378F #8F256C #8F7D25 #258F48
square
#25378F #8F256C #8F7D25 #258F48
split-complementary
#25378F #8F4825 #6C8F25
monochromatic
#0C122E #18245E #25378F #324AC0 #5A6FD4

Accessibility & contrast

On white

10.39
#25378F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#25378F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25378F
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25378F#FFFFFF#000000##FFFFFF
##25378F1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004592
Deuteranopia (green-blind)
#003B8D
Tritanopia (blue-blind)
#004D5D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #25378f;
/* rgb */ color: rgb(37, 55, 143);
/* oklch */ color: oklch(38.1% 0.147 269.3);
Tailwind
colors: {
  custom: {
    50: '#6f6db1',
    500: '#25378f',
    950: '#000000',
  },
}
SCSS
$custom: #25378f;
$custom-light: #6f6db1;
$custom-dark: #000000;
JSON
{
  "hex": "#25378f",
  "rgb": {
    "r": 37,
    "g": 55,
    "b": 143
  },
  "hsl": {
    "h": 229.811,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.38067,
    "c": 0.14667,
    "h": 269.3
  },
  "luminance": 0.05109
}

Semantic roles & 50–950 ramp

primary
#25378F
secondary
#B9A857
accent
#C846E2
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #25378F

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

Preview Lab → · Contrast checker → · Palette generator →

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