#25377E#25377E

#25377E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.122 H 268.9°. Best body text is #FFFFFF at 10.90:1 contrast (WCAG AA passes).

Color values

HEX#25377E
RGBrgb(37, 55, 126)
HSLhsl(228, 55%, 32%)
HSVhsv(228, 71%, 49%)
CMYKcmyk(70.6%, 56.3%, 0%, 50.6%)
CIE-LABlab(25.66, 18.34, -42.46)
CIE-LCHlch(25.66, 46.26, 293.36°)
OKLaboklab(36.6% -0.0024 -0.1221)
OKLCHoklch(36.6% 0.122 268.9)
XYZxyz(5.8937, 4.6315, 20.3180)
Luminance0.0463 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25377E #7E6C25
analogous
#25647E #25377E #40257E
triadic
#25377E #7E2537 #377E25
tetradic
#25377E #7E2564 #7E6C25 #257E40
square
#25377E #7E2564 #7E6C25 #257E40
split-complementary
#25377E #7E4025 #647E25
monochromatic
#090E1F #17224F #25377E #334CAD #516ACC

Accessibility & contrast

On white

10.90
#25377E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#25377E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25377E
10.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25377E#FFFFFF#000000##FFFFFF
##25377E1.0010.901.9310.90
#FFFFFF10.901.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014180
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #25377e;
/* rgb */ color: rgb(37, 55, 126);
/* oklch */ color: oklch(36.6% 0.122 268.9);
Tailwind
colors: {
  custom: {
    50: '#6b6da4',
    500: '#25377e',
    950: '#000000',
  },
}
SCSS
$custom: #25377e;
$custom-light: #6b6da4;
$custom-dark: #000000;
JSON
{
  "hex": "#25377e",
  "rgb": {
    "r": 37,
    "g": 55,
    "b": 126
  },
  "hsl": {
    "h": 227.865,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36599,
    "c": 0.12216,
    "h": 268.9
  },
  "luminance": 0.04632
}

Semantic roles & 50–950 ramp

primary
#25377E
secondary
#B09C4F
accent
#C04ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #25377E

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

Preview Lab → · Contrast checker → · Palette generator →

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