#25417A#25417A

#25417A is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.5% C 0.103 H 262.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#25417A
RGBrgb(37, 65, 122)
HSLhsl(220, 53%, 31%)
HSVhsv(220, 70%, 48%)
CMYKcmyk(69.7%, 46.7%, 0%, 52.2%)
CIE-LABlab(28.32, 9.85, -35.66)
CIE-LCHlch(28.32, 36.99, 285.44°)
OKLaboklab(38.54% -0.0128 -0.1019)
OKLCHoklch(38.54% 0.103 262.8)
XYZxyz(6.1649, 5.5784, 19.1604)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25417A #7A5E25
analogous
#256B7A #25417A #33257A
triadic
#25417A #7A2541 #417A25
tetradic
#25417A #7A256B #7A5E25 #257A33
square
#25417A #7A256B #7A5E25 #257A33
split-complementary
#25417A #7A3325 #6B7A25
monochromatic
#090F1C #17284B #25417A #335AA9 #5078CA

Accessibility & contrast

On white

9.93
#25417A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#25417A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25417A
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25417A#FFFFFF#000000##FFFFFF
##25417A1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25477C
Deuteranopia (green-blind)
#163F79
Tritanopia (blue-blind)
#004E57
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #25417a;
/* rgb */ color: rgb(37, 65, 122);
/* oklch */ color: oklch(38.5% 0.103 262.8);
Tailwind
colors: {
  custom: {
    50: '#6a75a1',
    500: '#25417a',
    950: '#000000',
  },
}
SCSS
$custom: #25417a;
$custom-light: #6a75a1;
$custom-dark: #000000;
JSON
{
  "hex": "#25417a",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 122
  },
  "hsl": {
    "h": 220.235,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.38536,
    "c": 0.10275,
    "h": 262.8
  },
  "luminance": 0.05579
}

Semantic roles & 50–950 ramp

primary
#25417A
secondary
#AC8D4E
accent
#AD4BDD
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080F
muted
#7A7B7E

Preview Lab

Preview with #25417A

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

Preview Lab → · Contrast checker → · Palette generator →

#25417A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva