#25498E#25498E

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

Color values

HEX#25498E
RGBrgb(37, 73, 142)
HSLhsl(219, 59%, 35%)
HSVhsv(219, 74%, 56%)
CMYKcmyk(73.9%, 48.6%, 0%, 44.3%)
CIE-LABlab(32.06, 12.22, -42.07)
CIE-LCHlch(32.06, 43.81, 286.20°)
OKLaboklab(41.83% -0.0172 -0.1207)
OKLCHoklch(41.83% 0.122 261.9)
XYZxyz(8.0262, 7.1105, 26.5354)
Luminance0.0711 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25498E #8E6A25
analogous
#257D8E #25498E #36258E
triadic
#25498E #8E2549 #498E25
tetradic
#25498E #8E257D #8E6A25 #258E36
square
#25498E #8E257D #8E6A25 #258E36
split-complementary
#25498E #8E3625 #7D8E25
monochromatic
#0C172D #18305D #25498E #3262BF #5A83D4

Accessibility & contrast

On white

8.67
#25498E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #25498E
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25498E#FFFFFF#000000##FFFFFF
##25498E1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245191
Deuteranopia (green-blind)
#08478D
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #25498e;
/* rgb */ color: rgb(37, 73, 142);
/* oklch */ color: oklch(41.8% 0.122 261.9);
Tailwind
colors: {
  custom: {
    50: '#6e7baf',
    500: '#25498e',
    950: '#000000',
  },
}
SCSS
$custom: #25498e;
$custom-light: #6e7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#25498e",
  "rgb": {
    "r": 37,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 219.429,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.41833,
    "c": 0.12188,
    "h": 261.9
  },
  "luminance": 0.07111
}

Semantic roles & 50–950 ramp

primary
#25498E
secondary
#B99756
accent
#AC46E2
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #25498E

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

Preview Lab → · Contrast checker → · Palette generator →

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