#25498C#25498C

#25498C is a dark, moderate blue. Relative luminance 0.071; OKLCH L 41.7% C 0.119 H 261.5°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#25498C
RGBrgb(37, 73, 140)
HSLhsl(219, 58%, 35%)
HSVhsv(219, 74%, 55%)
CMYKcmyk(73.6%, 47.9%, 0%, 45.1%)
CIE-LABlab(31.92, 11.43, -41.06)
CIE-LCHlch(31.92, 42.62, 285.56°)
OKLaboklab(41.69% -0.0175 -0.1177)
OKLCHoklch(41.69% 0.119 261.5)
XYZxyz(7.8774, 7.0510, 25.7517)
Luminance0.0705 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25498C #8C6825
analogous
#257D8C #25498C #35258C
triadic
#25498C #8C2549 #498C25
tetradic
#25498C #8C257D #8C6825 #258C35
square
#25498C #8C257D #8C6825 #258C35
split-complementary
#25498C #8C3525 #7D8C25
monochromatic
#0B172B #18305C #25498C #3262BC #5883D3

Accessibility & contrast

On white

8.71
#25498C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#25498C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25498C
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25498C#FFFFFF#000000##FFFFFF
##25498C1.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26508F
Deuteranopia (green-blind)
#0E478B
Tritanopia (blue-blind)
#005963
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #25498c;
/* rgb */ color: rgb(37, 73, 140);
/* oklch */ color: oklch(41.7% 0.119 261.5);
Tailwind
colors: {
  custom: {
    50: '#6e7bae',
    500: '#25498c',
    950: '#000000',
  },
}
SCSS
$custom: #25498c;
$custom-light: #6e7bae;
$custom-dark: #000000;
JSON
{
  "hex": "#25498c",
  "rgb": {
    "r": 37,
    "g": 73,
    "b": 140
  },
  "hsl": {
    "h": 219.029,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41687,
    "c": 0.11899,
    "h": 261.5
  },
  "luminance": 0.07052
}

Semantic roles & 50–950 ramp

primary
#25498C
secondary
#B89555
accent
#AB46E1
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #25498C

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

Preview Lab → · Contrast checker → · Palette generator →

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