#25427F#25427F

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

Color values

HEX#25427F
RGBrgb(37, 66, 127)
HSLhsl(221, 55%, 32%)
HSVhsv(221, 71%, 50%)
CMYKcmyk(70.9%, 48%, 0%, 50.2%)
CIE-LABlab(28.96, 11.11, -37.77)
CIE-LCHlch(28.96, 39.37, 286.39°)
OKLaboklab(39.13% -0.013 -0.1081)
OKLCHoklch(39.13% 0.109 263.2)
XYZxyz(6.5406, 5.8214, 20.8535)
Luminance0.0582 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25427F #7F6225
analogous
#256F7F #25427F #35257F
triadic
#25427F #7F2542 #427F25
tetradic
#25427F #7F256F #7F6225 #257F35
square
#25427F #7F256F #7F6225 #257F35
split-complementary
#25427F #7F3525 #6F7F25
monochromatic
#091120 #172950 #25427F #335BAE #5279CD

Accessibility & contrast

On white

9.70
#25427F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25427F
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25427F#FFFFFF#000000##FFFFFF
##25427F1.009.702.169.70
#FFFFFF9.701.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234981
Deuteranopia (green-blind)
#10407E
Tritanopia (blue-blind)
#00505A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #25427f;
/* rgb */ color: rgb(37, 66, 127);
/* oklch */ color: oklch(39.1% 0.109 263.2);
Tailwind
colors: {
  custom: {
    50: '#6b75a4',
    500: '#25427f',
    950: '#000000',
  },
}
SCSS
$custom: #25427f;
$custom-light: #6b75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#25427f",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 127
  },
  "hsl": {
    "h": 220.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3913,
    "c": 0.10892,
    "h": 263.2
  },
  "luminance": 0.05822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #25427F

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

Preview Lab → · Contrast checker → · Palette generator →

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