#25379E#25379E

#25379E is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.5% C 0.167 H 269.2°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#25379E
RGBrgb(37, 55, 158)
HSLhsl(231, 62%, 38%)
HSVhsv(231, 77%, 62%)
CMYKcmyk(76.6%, 65.2%, 0%, 38%)
CIE-LABlab(28.36, 30.60, -57.83)
CIE-LCHlch(28.36, 65.43, 297.88°)
OKLaboklab(39.45% -0.0022 -0.1672)
OKLCHoklch(39.45% 0.167 269.2)
XYZxyz(8.2986, 5.5934, 32.9834)
Luminance0.0559 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25379E #9E8C25
analogous
#25739E #25379E #4F259E
triadic
#25379E #9E2537 #379E25
tetradic
#25379E #9E2573 #9E8C25 #259E4F
square
#25379E #9E2573 #9E8C25 #259E4F
split-complementary
#25379E #9E4F25 #739E25
monochromatic
#0E143B #19266C #25379E #3149CF #6375DA

Accessibility & contrast

On white

9.91
#25379E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#25379E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25379E
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25379E#FFFFFF#000000##FFFFFF
##25379E1.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#005265
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #25379e;
/* rgb */ color: rgb(37, 55, 158);
/* oklch */ color: oklch(39.5% 0.167 269.2);
Tailwind
colors: {
  custom: {
    50: '#736dbc',
    500: '#25379e',
    950: '#000000',
  },
}
SCSS
$custom: #25379e;
$custom-light: #736dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#25379e",
  "rgb": {
    "r": 37,
    "g": 55,
    "b": 158
  },
  "hsl": {
    "h": 231.074,
    "s": 62.051,
    "l": 38.235
  },
  "oklch": {
    "l": 0.39452,
    "c": 0.16726,
    "h": 269.2
  },
  "luminance": 0.05594
}

Semantic roles & 50–950 ramp

primary
#25379E
secondary
#C0B15F
accent
#CD43E5
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #25379E

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

Preview Lab → · Contrast checker → · Palette generator →

#25379E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva