#25427E#25427E

#25427E is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.1% C 0.107 H 263.0°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#25427E
RGBrgb(37, 66, 126)
HSLhsl(220, 55%, 32%)
HSVhsv(220, 71%, 49%)
CMYKcmyk(70.6%, 47.6%, 0%, 50.6%)
CIE-LABlab(28.89, 10.72, -37.25)
CIE-LCHlch(28.89, 38.77, 286.05°)
OKLaboklab(39.06% -0.0131 -0.1066)
OKLCHoklch(39.06% 0.107 263)
XYZxyz(6.4757, 5.7955, 20.5120)
Luminance0.0580 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25427E #7E6125
analogous
#256F7E #25427E #34257E
triadic
#25427E #7E2542 #427E25
tetradic
#25427E #7E256F #7E6125 #257E34
square
#25427E #7E256F #7E6125 #257E34
split-complementary
#25427E #7E3425 #6F7E25
monochromatic
#09101F #17294F #25427E #335BAD #5179CC

Accessibility & contrast

On white

9.73
#25427E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#25427E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25427E
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25427E#FFFFFF#000000##FFFFFF
##25427E1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244880
Deuteranopia (green-blind)
#12407D
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #25427e;
/* rgb */ color: rgb(37, 66, 126);
/* oklch */ color: oklch(39.1% 0.107 263.0);
Tailwind
colors: {
  custom: {
    50: '#6b75a4',
    500: '#25427e',
    950: '#000000',
  },
}
SCSS
$custom: #25427e;
$custom-light: #6b75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#25427e",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 126
  },
  "hsl": {
    "h": 220.449,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.39058,
    "c": 0.10743,
    "h": 263
  },
  "luminance": 0.05796
}

Semantic roles & 50–950 ramp

primary
#25427E
secondary
#B0904F
accent
#AE4ADE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #25427E

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

Preview Lab → · Contrast checker → · Palette generator →

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