#25387F#25387F

#25387F is a dark, vivid blue. Relative luminance 0.048; OKLCH L 36.9% C 0.122 H 268.5°. Best body text is #FFFFFF at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#25387F
RGBrgb(37, 56, 127)
HSLhsl(227, 55%, 32%)
HSVhsv(227, 71%, 50%)
CMYKcmyk(70.9%, 55.9%, 0%, 50.2%)
CIE-LABlab(26.02, 18.04, -42.51)
CIE-LCHlch(26.02, 46.17, 292.99°)
OKLaboklab(36.9% -0.0033 -0.1222)
OKLCHoklch(36.9% 0.122 268.5)
XYZxyz(6.0066, 4.7534, 20.6755)
Luminance0.0475 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25387F #7F6C25
analogous
#25657F #25387F #3F257F
triadic
#25387F #7F2538 #387F25
tetradic
#25387F #7F2565 #7F6C25 #257F3F
square
#25387F #7F2565 #7F6C25 #257F3F
split-complementary
#25387F #7F3F25 #657F25
monochromatic
#090E20 #172350 #25387F #334DAE #526CCD

Accessibility & contrast

On white

10.76
#25387F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#25387F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25387F
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25387F#FFFFFF#000000##FFFFFF
##25387F1.0010.761.9510.76
#FFFFFF10.761.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034281
Deuteranopia (green-blind)
#003A7E
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #25387f;
/* rgb */ color: rgb(37, 56, 127);
/* oklch */ color: oklch(36.9% 0.122 268.5);
Tailwind
colors: {
  custom: {
    50: '#6b6ea5',
    500: '#25387f',
    950: '#000000',
  },
}
SCSS
$custom: #25387f;
$custom-light: #6b6ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#25387f",
  "rgb": {
    "r": 37,
    "g": 56,
    "b": 127
  },
  "hsl": {
    "h": 227.333,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36897,
    "c": 0.12228,
    "h": 268.5
  },
  "luminance": 0.04754
}

Semantic roles & 50–950 ramp

primary
#25387F
secondary
#B19C4F
accent
#BF4ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #25387F

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

Preview Lab → · Contrast checker → · Palette generator →

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