#25498F#25498F

#25498F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.123 H 262.0°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#25498F
RGBrgb(37, 73, 143)
HSLhsl(220, 59%, 35%)
HSVhsv(220, 74%, 56%)
CMYKcmyk(74.1%, 49%, 0%, 43.9%)
CIE-LABlab(32.13, 12.61, -42.57)
CIE-LCHlch(32.13, 44.40, 286.50°)
OKLaboklab(41.91% -0.0171 -0.1221)
OKLCHoklch(41.91% 0.123 262)
XYZxyz(8.1016, 7.1407, 26.9326)
Luminance0.0714 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25498F #8F6B25
analogous
#257E8F #25498F #36258F
triadic
#25498F #8F2549 #498F25
tetradic
#25498F #8F257E #8F6B25 #258F36
square
#25498F #8F257E #8F6B25 #258F36
split-complementary
#25498F #8F3625 #7E8F25
monochromatic
#0C172E #18305E #25498F #3262C0 #5A84D4

Accessibility & contrast

On white

8.65
#25498F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#25498F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25498F
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25498F#FFFFFF#000000##FFFFFF
##25498F1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235192
Deuteranopia (green-blind)
#05478E
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #25498f;
/* rgb */ color: rgb(37, 73, 143);
/* oklch */ color: oklch(41.9% 0.123 262.0);
Tailwind
colors: {
  custom: {
    50: '#6e7bb0',
    500: '#25498f',
    950: '#000000',
  },
}
SCSS
$custom: #25498f;
$custom-light: #6e7bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#25498f",
  "rgb": {
    "r": 37,
    "g": 73,
    "b": 143
  },
  "hsl": {
    "h": 219.623,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41907,
    "c": 0.12333,
    "h": 262
  },
  "luminance": 0.07142
}

Semantic roles & 50–950 ramp

primary
#25498F
secondary
#B99857
accent
#AD46E2
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #25498F

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

Preview Lab → · Contrast checker → · Palette generator →

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