#25539D#25539D

#25539D is a mid, vivid blue. Relative luminance 0.090; OKLCH L 45.2% C 0.131 H 259.6°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#25539D
RGBrgb(37, 83, 157)
HSLhsl(217, 62%, 38%)
HSVhsv(217, 76%, 62%)
CMYKcmyk(76.4%, 47.1%, 0%, 38.4%)
CIE-LABlab(36.01, 11.39, -44.82)
CIE-LCHlch(36.01, 46.24, 284.26°)
OKLaboklab(45.19% -0.0237 -0.1286)
OKLCHoklch(45.19% 0.131 259.6)
XYZxyz(9.9398, 9.0130, 33.1076)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25539D #9D6F25
analogous
#258F9D #25539D #33259D
triadic
#25539D #9D2553 #539D25
tetradic
#25539D #9D258F #9D6F25 #259D33
square
#25539D #9D258F #9D6F25 #259D33
split-complementary
#25539D #9D3325 #8F9D25
monochromatic
#0E1F3A #19396B #25539D #316DCE #6290DA

Accessibility & contrast

On white

7.49
#25539D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#25539D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25539D
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25539D#FFFFFF#000000##FFFFFF
##25539D1.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5BA0
Deuteranopia (green-blind)
#0E509C
Tritanopia (blue-blind)
#006570
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #25539d;
/* rgb */ color: rgb(37, 83, 157);
/* oklch */ color: oklch(45.2% 0.131 259.6);
Tailwind
colors: {
  custom: {
    50: '#7182ba',
    500: '#25539d',
    950: '#000000',
  },
}
SCSS
$custom: #25539d;
$custom-light: #7182ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25539d",
  "rgb": {
    "r": 37,
    "g": 83,
    "b": 157
  },
  "hsl": {
    "h": 217,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.45192,
    "c": 0.13072,
    "h": 259.6
  },
  "luminance": 0.09014
}

Semantic roles & 50–950 ramp

primary
#25539D
secondary
#BF9A5E
accent
#A743E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #25539D

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

Preview Lab → · Contrast checker → · Palette generator →

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