#25387E#25387E

#25387E is a dark, vivid blue. Relative luminance 0.047; OKLCH L 36.8% C 0.121 H 268.4°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#25387E
RGBrgb(37, 56, 126)
HSLhsl(227, 55%, 32%)
HSVhsv(227, 71%, 49%)
CMYKcmyk(70.6%, 55.6%, 0%, 50.6%)
CIE-LABlab(25.94, 17.65, -42.00)
CIE-LCHlch(25.94, 45.56, 292.79°)
OKLaboklab(36.82% -0.0033 -0.1208)
OKLCHoklch(36.82% 0.121 268.4)
XYZxyz(5.9417, 4.7274, 20.3340)
Luminance0.0473 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25387E #7E6B25
analogous
#25657E #25387E #3F257E
triadic
#25387E #7E2538 #387E25
tetradic
#25387E #7E2565 #7E6B25 #257E3F
square
#25387E #7E2565 #7E6B25 #257E3F
split-complementary
#25387E #7E3F25 #657E25
monochromatic
#090E1F #17234F #25387E #334DAD #516CCC

Accessibility & contrast

On white

10.79
#25387E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25387E
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25387E#FFFFFF#000000##FFFFFF
##25387E1.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064280
Deuteranopia (green-blind)
#003A7D
Tritanopia (blue-blind)
#004955
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #25387e;
/* rgb */ color: rgb(37, 56, 126);
/* oklch */ color: oklch(36.8% 0.121 268.4);
Tailwind
colors: {
  custom: {
    50: '#6b6ea4',
    500: '#25387e',
    950: '#000000',
  },
}
SCSS
$custom: #25387e;
$custom-light: #6b6ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#25387e",
  "rgb": {
    "r": 37,
    "g": 56,
    "b": 126
  },
  "hsl": {
    "h": 227.191,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.36815,
    "c": 0.12081,
    "h": 268.4
  },
  "luminance": 0.04728
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25387E

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

Preview Lab → · Contrast checker → · Palette generator →

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