#25437F#25437F

#25437F is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.4% C 0.108 H 262.5°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#25437F
RGBrgb(37, 67, 127)
HSLhsl(220, 55%, 32%)
HSVhsv(220, 71%, 50%)
CMYKcmyk(70.9%, 47.2%, 0%, 50.2%)
CIE-LABlab(29.26, 10.43, -37.29)
CIE-LCHlch(29.26, 38.72, 285.62°)
OKLaboklab(39.36% -0.014 -0.1067)
OKLCHoklch(39.36% 0.108 262.5)
XYZxyz(6.5995, 5.9393, 20.8732)
Luminance0.0594 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25437F #7F6125
analogous
#25707F #25437F #34257F
triadic
#25437F #7F2543 #437F25
tetradic
#25437F #7F2570 #7F6125 #257F34
square
#25437F #7F2570 #7F6125 #257F34
split-complementary
#25437F #7F3425 #707F25
monochromatic
#091120 #172A50 #25437F #335CAE #527BCD

Accessibility & contrast

On white

9.60
#25437F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#25437F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25437F
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25437F#FFFFFF#000000##FFFFFF
##25437F1.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254981
Deuteranopia (green-blind)
#13417E
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #25437f;
/* rgb */ color: rgb(37, 67, 127);
/* oklch */ color: oklch(39.4% 0.108 262.5);
Tailwind
colors: {
  custom: {
    50: '#6b76a4',
    500: '#25437f',
    950: '#000000',
  },
}
SCSS
$custom: #25437f;
$custom-light: #6b76a4;
$custom-dark: #000000;
JSON
{
  "hex": "#25437f",
  "rgb": {
    "r": 37,
    "g": 67,
    "b": 127
  },
  "hsl": {
    "h": 220,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.39362,
    "c": 0.10762,
    "h": 262.5
  },
  "luminance": 0.0594
}

Semantic roles & 50–950 ramp

primary
#25437F
secondary
#B1904F
accent
#AD4ADE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #25437F

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

Preview Lab → · Contrast checker → · Palette generator →

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