#25498D#25498D

#25498D is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.8% C 0.120 H 261.7°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#25498D
RGBrgb(37, 73, 141)
HSLhsl(219, 58%, 35%)
HSVhsv(219, 74%, 55%)
CMYKcmyk(73.8%, 48.2%, 0%, 44.7%)
CIE-LABlab(31.99, 11.83, -41.56)
CIE-LCHlch(31.99, 43.21, 285.88°)
OKLaboklab(41.76% -0.0174 -0.1192)
OKLCHoklch(41.76% 0.12 261.7)
XYZxyz(7.9515, 7.0806, 26.1418)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25498D #8D6925
analogous
#257D8D #25498D #35258D
triadic
#25498D #8D2549 #498D25
tetradic
#25498D #8D257D #8D6925 #258D35
square
#25498D #8D257D #8D6925 #258D35
split-complementary
#25498D #8D3525 #7D8D25
monochromatic
#0C172C #18305D #25498D #3262BD #5983D3

Accessibility & contrast

On white

8.69
#25498D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#25498D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25498D
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25498D#FFFFFF#000000##FFFFFF
##25498D1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255090
Deuteranopia (green-blind)
#0B478C
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #25498d;
/* rgb */ color: rgb(37, 73, 141);
/* oklch */ color: oklch(41.8% 0.120 261.7);
Tailwind
colors: {
  custom: {
    50: '#6e7baf',
    500: '#25498d',
    950: '#000000',
  },
}
SCSS
$custom: #25498d;
$custom-light: #6e7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#25498d",
  "rgb": {
    "r": 37,
    "g": 73,
    "b": 141
  },
  "hsl": {
    "h": 219.231,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.4176,
    "c": 0.12044,
    "h": 261.7
  },
  "luminance": 0.07081
}

Semantic roles & 50–950 ramp

primary
#25498D
secondary
#B89656
accent
#AC46E2
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #25498D

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

Preview Lab → · Contrast checker → · Palette generator →

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