#25379F#25379F

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

Color values

HEX#25379F
RGBrgb(37, 55, 159)
HSLhsl(231, 62%, 38%)
HSVhsv(231, 77%, 62%)
CMYKcmyk(76.7%, 65.4%, 0%, 37.6%)
CIE-LABlab(28.45, 30.97, -58.29)
CIE-LCHlch(28.45, 66.01, 297.98°)
OKLaboklab(39.55% -0.0023 -0.1686)
OKLCHoklch(39.55% 0.169 269.2)
XYZxyz(8.3850, 5.6280, 33.4386)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25379F #9F8D25
analogous
#25749F #25379F #50259F
triadic
#25379F #9F2537 #379F25
tetradic
#25379F #9F2574 #9F8D25 #259F50
square
#25379F #9F2574 #9F8D25 #259F50
split-complementary
#25379F #9F5025 #749F25
monochromatic
#0E153C #19266D #25379F #3249CF #6475DB

Accessibility & contrast

On white

9.88
#25379F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#25379F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25379F
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25379F#FFFFFF#000000##FFFFFF
##25379F1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049A2
Deuteranopia (green-blind)
#003D9D
Tritanopia (blue-blind)
#005266
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #25379f;
/* rgb */ color: rgb(37, 55, 159);
/* oklch */ color: oklch(39.5% 0.169 269.2);
Tailwind
colors: {
  custom: {
    50: '#736dbc',
    500: '#25379f',
    950: '#000000',
  },
}
SCSS
$custom: #25379f;
$custom-light: #736dbc;
$custom-dark: #000000;
JSON
{
  "hex": "#25379f",
  "rgb": {
    "r": 37,
    "g": 55,
    "b": 159
  },
  "hsl": {
    "h": 231.148,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.39547,
    "c": 0.16861,
    "h": 269.2
  },
  "luminance": 0.05629
}

Semantic roles & 50–950 ramp

primary
#25379F
secondary
#C0B25F
accent
#CD42E5
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#090712
muted
#7B7A81

Preview Lab

Preview with #25379F

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

Preview Lab → · Contrast checker → · Palette generator →

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