#25387D#25387D

#25387D is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.7% C 0.119 H 268.4°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#25387D
RGBrgb(37, 56, 125)
HSLhsl(227, 54%, 32%)
HSVhsv(227, 70%, 49%)
CMYKcmyk(70.4%, 55.2%, 0%, 51%)
CIE-LABlab(25.87, 17.26, -41.50)
CIE-LCHlch(25.87, 44.94, 292.58°)
OKLaboklab(36.73% -0.0034 -0.1193)
OKLCHoklch(36.73% 0.119 268.4)
XYZxyz(5.8775, 4.7018, 19.9958)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25387D #7D6A25
analogous
#25647D #25387D #3E257D
triadic
#25387D #7D2538 #387D25
tetradic
#25387D #7D2564 #7D6A25 #257D3E
square
#25387D #7D2564 #7D6A25 #257D3E
split-complementary
#25387D #7D3E25 #647D25
monochromatic
#090E1F #17234E #25387D #334DAC #516BCB

Accessibility & contrast

On white

10.82
#25387D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#25387D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25387D
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25387D#FFFFFF#000000##FFFFFF
##25387D1.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08417F
Deuteranopia (green-blind)
#00397C
Tritanopia (blue-blind)
#004855
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #25387d;
/* rgb */ color: rgb(37, 56, 125);
/* oklch */ color: oklch(36.7% 0.119 268.4);
Tailwind
colors: {
  custom: {
    50: '#6b6ea3',
    500: '#25387d',
    950: '#000000',
  },
}
SCSS
$custom: #25387d;
$custom-light: #6b6ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#25387d",
  "rgb": {
    "r": 37,
    "g": 56,
    "b": 125
  },
  "hsl": {
    "h": 227.045,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.36733,
    "c": 0.11932,
    "h": 268.4
  },
  "luminance": 0.04702
}

Semantic roles & 50–950 ramp

primary
#25387D
secondary
#AF9A4F
accent
#BE4ADE
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #25387D

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

Preview Lab → · Contrast checker → · Palette generator →

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