#25377F#25377F

#25377F is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.7% C 0.124 H 268.9°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#25377F
RGBrgb(37, 55, 127)
HSLhsl(228, 55%, 32%)
HSVhsv(228, 71%, 50%)
CMYKcmyk(70.9%, 56.7%, 0%, 50.2%)
CIE-LABlab(25.74, 18.73, -42.97)
CIE-LCHlch(25.74, 46.87, 293.56°)
OKLaboklab(36.68% -0.0023 -0.1236)
OKLCHoklch(36.68% 0.124 268.9)
XYZxyz(5.9586, 4.6574, 20.6595)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25377F #7F6D25
analogous
#25647F #25377F #40257F
triadic
#25377F #7F2537 #377F25
tetradic
#25377F #7F2564 #7F6D25 #257F40
square
#25377F #7F2564 #7F6D25 #257F40
split-complementary
#25377F #7F4025 #647F25
monochromatic
#090E20 #172250 #25377F #334CAE #526ACD

Accessibility & contrast

On white

10.87
#25377F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25377F
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25377F#FFFFFF#000000##FFFFFF
##25377F1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #25377f;
/* rgb */ color: rgb(37, 55, 127);
/* oklch */ color: oklch(36.7% 0.124 268.9);
Tailwind
colors: {
  custom: {
    50: '#6c6da5',
    500: '#25377f',
    950: '#000000',
  },
}
SCSS
$custom: #25377f;
$custom-light: #6c6da5;
$custom-dark: #000000;
JSON
{
  "hex": "#25377f",
  "rgb": {
    "r": 37,
    "g": 55,
    "b": 127
  },
  "hsl": {
    "h": 228,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36682,
    "c": 0.12364,
    "h": 268.9
  },
  "luminance": 0.04658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25377F

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

Preview Lab → · Contrast checker → · Palette generator →

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