#25539F#25539F

#25539F is a mid, vivid blue. Relative luminance 0.091; OKLCH L 45.3% C 0.134 H 259.9°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#25539F
RGBrgb(37, 83, 159)
HSLhsl(217, 62%, 38%)
HSVhsv(217, 77%, 62%)
CMYKcmyk(76.7%, 47.8%, 0%, 37.6%)
CIE-LABlab(36.14, 12.17, -45.81)
CIE-LCHlch(36.14, 47.40, 284.88°)
OKLaboklab(45.34% -0.0233 -0.1315)
OKLCHoklch(45.34% 0.134 259.9)
XYZxyz(10.1119, 9.0819, 34.0142)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25539F #9F7125
analogous
#25909F #25539F #34259F
triadic
#25539F #9F2553 #539F25
tetradic
#25539F #9F2590 #9F7125 #259F34
square
#25539F #9F2590 #9F7125 #259F34
split-complementary
#25539F #9F3425 #909F25
monochromatic
#0E1F3C #19396D #25539F #326DCF #6491DB

Accessibility & contrast

On white

7.46
#25539F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#25539F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25539F
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25539F#FFFFFF#000000##FFFFFF
##25539F1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5BA2
Deuteranopia (green-blind)
#07509D
Tritanopia (blue-blind)
#006571
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #25539f;
/* rgb */ color: rgb(37, 83, 159);
/* oklch */ color: oklch(45.3% 0.134 259.9);
Tailwind
colors: {
  custom: {
    50: '#7282bc',
    500: '#25539f',
    950: '#000000',
  },
}
SCSS
$custom: #25539f;
$custom-light: #7282bc;
$custom-dark: #000000;
JSON
{
  "hex": "#25539f",
  "rgb": {
    "r": 37,
    "g": 83,
    "b": 159
  },
  "hsl": {
    "h": 217.377,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45336,
    "c": 0.13352,
    "h": 259.9
  },
  "luminance": 0.09083
}

Semantic roles & 50–950 ramp

primary
#25539F
secondary
#C09C5F
accent
#A842E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #25539F

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

Preview Lab → · Contrast checker → · Palette generator →

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