#25499D#25499D

#25499D is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.0% C 0.143 H 263.9°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#25499D
RGBrgb(37, 73, 157)
HSLhsl(222, 62%, 38%)
HSVhsv(222, 76%, 62%)
CMYKcmyk(76.4%, 53.5%, 0%, 38.4%)
CIE-LABlab(33.12, 18.10, -49.48)
CIE-LCHlch(33.12, 52.69, 290.09°)
OKLaboklab(42.98% -0.0152 -0.1425)
OKLCHoklch(42.98% 0.143 263.9)
XYZxyz(9.2291, 7.5917, 32.8707)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25499D #9D7925
analogous
#25859D #25499D #3D259D
triadic
#25499D #9D2549 #499D25
tetradic
#25499D #9D2585 #9D7925 #259D3D
square
#25499D #9D2585 #9D7925 #259D3D
split-complementary
#25499D #9D3D25 #859D25
monochromatic
#0E1B3A #19326B #25499D #3160CE #6286DA

Accessibility & contrast

On white

8.34
#25499D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#25499D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25499D
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25499D#FFFFFF#000000##FFFFFF
##25499D1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D54A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#005D6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #25499d;
/* rgb */ color: rgb(37, 73, 157);
/* oklch */ color: oklch(43.0% 0.143 263.9);
Tailwind
colors: {
  custom: {
    50: '#727bbb',
    500: '#25499d',
    950: '#000000',
  },
}
SCSS
$custom: #25499d;
$custom-light: #727bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#25499d",
  "rgb": {
    "r": 37,
    "g": 73,
    "b": 157
  },
  "hsl": {
    "h": 222,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.42981,
    "c": 0.14329,
    "h": 263.9
  },
  "luminance": 0.07593
}

Semantic roles & 50–950 ramp

primary
#25499D
secondary
#BFA25E
accent
#B443E5
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #25499D

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

Preview Lab → · Contrast checker → · Palette generator →

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