#25427D#25427D

#25427D is a dark, moderate blue. Relative luminance 0.058; OKLCH L 39.0% C 0.106 H 262.8°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#25427D
RGBrgb(37, 66, 125)
HSLhsl(220, 54%, 32%)
HSVhsv(220, 70%, 49%)
CMYKcmyk(70.4%, 47.2%, 0%, 51%)
CIE-LABlab(28.82, 10.33, -36.73)
CIE-LCHlch(28.82, 38.16, 285.71°)
OKLaboklab(38.99% -0.0133 -0.1051)
OKLCHoklch(38.99% 0.106 262.8)
XYZxyz(6.4115, 5.7698, 20.1738)
Luminance0.0577 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25427D #7D6025
analogous
#256E7D #25427D #34257D
triadic
#25427D #7D2542 #427D25
tetradic
#25427D #7D256E #7D6025 #257D34
square
#25427D #7D256E #7D6025 #257D34
split-complementary
#25427D #7D3425 #6E7D25
monochromatic
#09101F #17294E #25427D #335BAC #5179CB

Accessibility & contrast

On white

9.75
#25427D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#25427D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25427D
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25427D#FFFFFF#000000##FFFFFF
##25427D1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25487F
Deuteranopia (green-blind)
#14407C
Tritanopia (blue-blind)
#005059
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #25427d;
/* rgb */ color: rgb(37, 66, 125);
/* oklch */ color: oklch(39.0% 0.106 262.8);
Tailwind
colors: {
  custom: {
    50: '#6b75a3',
    500: '#25427d',
    950: '#000000',
  },
}
SCSS
$custom: #25427d;
$custom-light: #6b75a3;
$custom-dark: #000000;
JSON
{
  "hex": "#25427d",
  "rgb": {
    "r": 37,
    "g": 66,
    "b": 125
  },
  "hsl": {
    "h": 220.227,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.38985,
    "c": 0.10594,
    "h": 262.8
  },
  "luminance": 0.0577
}

Semantic roles & 50–950 ramp

primary
#25427D
secondary
#AF8F4F
accent
#AD4ADE
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #25427D

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

Preview Lab → · Contrast checker → · Palette generator →

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