#25539A#25539A

#25539A is a dark, vivid blue. Relative luminance 0.089; OKLCH L 45.0% C 0.127 H 259.0°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#25539A
RGBrgb(37, 83, 154)
HSLhsl(216, 61%, 37%)
HSVhsv(216, 76%, 60%)
CMYKcmyk(76%, 46.1%, 0%, 39.6%)
CIE-LABlab(35.81, 10.22, -43.33)
CIE-LCHlch(35.81, 44.51, 283.27°)
OKLaboklab(44.98% -0.0242 -0.1242)
OKLCHoklch(44.98% 0.127 259)
XYZxyz(9.6868, 8.9118, 31.7752)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25539A #9A6C25
analogous
#258E9A #25539A #31259A
triadic
#25539A #9A2553 #539A25
tetradic
#25539A #9A258E #9A6C25 #259A31
square
#25539A #9A258E #9A6C25 #259A31
split-complementary
#25539A #9A3125 #8E9A25
monochromatic
#0D1E37 #193869 #25539A #316ECB #6090D9

Accessibility & contrast

On white

7.55
#25539A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#25539A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25539A
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25539A#FFFFFF#000000##FFFFFF
##25539A1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5A9D
Deuteranopia (green-blind)
#154F99
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #25539a;
/* rgb */ color: rgb(37, 83, 154);
/* oklch */ color: oklch(45.0% 0.127 259.0);
Tailwind
colors: {
  custom: {
    50: '#7082b8',
    500: '#25539a',
    950: '#000000',
  },
}
SCSS
$custom: #25539a;
$custom-light: #7082b8;
$custom-dark: #000000;
JSON
{
  "hex": "#25539a",
  "rgb": {
    "r": 37,
    "g": 83,
    "b": 154
  },
  "hsl": {
    "h": 216.41,
    "s": 61.257,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44978,
    "c": 0.12651,
    "h": 259
  },
  "luminance": 0.08913
}

Semantic roles & 50–950 ramp

primary
#25539A
secondary
#BE985D
accent
#A543E4
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #25539A

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

Preview Lab → · Contrast checker → · Palette generator →

#25539A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva