#25417C#25417C

#25417C is a dark, moderate blue. Relative luminance 0.056; OKLCH L 38.7% C 0.106 H 263.2°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#25417C
RGBrgb(37, 65, 124)
HSLhsl(221, 54%, 32%)
HSVhsv(221, 70%, 49%)
CMYKcmyk(70.2%, 47.6%, 0%, 51.4%)
CIE-LABlab(28.46, 10.63, -36.70)
CIE-LCHlch(28.46, 38.21, 286.15°)
OKLaboklab(38.68% -0.0125 -0.105)
OKLCHoklch(38.68% 0.106 263.2)
XYZxyz(6.2901, 5.6285, 19.8198)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25417C #7C6025
analogous
#256D7C #25417C #35257C
triadic
#25417C #7C2541 #417C25
tetradic
#25417C #7C256D #7C6025 #257C35
square
#25417C #7C256D #7C6025 #257C35
split-complementary
#25417C #7C3525 #6D7C25
monochromatic
#09101E #17284D #25417C #335AAB #5078CB

Accessibility & contrast

On white

9.88
#25417C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#25417C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25417C
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25417C#FFFFFF#000000##FFFFFF
##25417C1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23477E
Deuteranopia (green-blind)
#133F7B
Tritanopia (blue-blind)
#004F58
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #25417c;
/* rgb */ color: rgb(37, 65, 124);
/* oklch */ color: oklch(38.7% 0.106 263.2);
Tailwind
colors: {
  custom: {
    50: '#6a75a2',
    500: '#25417c',
    950: '#000000',
  },
}
SCSS
$custom: #25417c;
$custom-light: #6a75a2;
$custom-dark: #000000;
JSON
{
  "hex": "#25417c",
  "rgb": {
    "r": 37,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 220.69,
    "s": 54.037,
    "l": 31.569
  },
  "oklch": {
    "l": 0.38681,
    "c": 0.10575,
    "h": 263.2
  },
  "luminance": 0.05629
}

Semantic roles & 50–950 ramp

primary
#25417C
secondary
#AE8F4F
accent
#AE4ADD
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#07080F
muted
#7A7B7F

Preview Lab

Preview with #25417C

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

Preview Lab → · Contrast checker → · Palette generator →

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