#25539B#25539B

#25539B is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.0% C 0.128 H 259.2°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#25539B
RGBrgb(37, 83, 155)
HSLhsl(217, 61%, 38%)
HSVhsv(217, 76%, 61%)
CMYKcmyk(76.1%, 46.5%, 0%, 39.2%)
CIE-LABlab(35.88, 10.61, -43.82)
CIE-LCHlch(35.88, 45.09, 283.61°)
OKLaboklab(45.05% -0.024 -0.1256)
OKLCHoklch(45.05% 0.128 259.2)
XYZxyz(9.7704, 8.9453, 32.2157)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25539B #9B6D25
analogous
#258E9B #25539B #32259B
triadic
#25539B #9B2553 #539B25
tetradic
#25539B #9B258E #9B6D25 #259B32
square
#25539B #9B258E #9B6D25 #259B32
split-complementary
#25539B #9B3225 #8E9B25
monochromatic
#0D1E38 #19396A #25539B #316DCC #6190D9

Accessibility & contrast

On white

7.53
#25539B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#25539B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25539B
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25539B#FFFFFF#000000##FFFFFF
##25539B1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5A9E
Deuteranopia (green-blind)
#134F9A
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #25539b;
/* rgb */ color: rgb(37, 83, 155);
/* oklch */ color: oklch(45.0% 0.128 259.2);
Tailwind
colors: {
  custom: {
    50: '#7182b9',
    500: '#25539b',
    950: '#000000',
  },
}
SCSS
$custom: #25539b;
$custom-light: #7182b9;
$custom-dark: #000000;
JSON
{
  "hex": "#25539b",
  "rgb": {
    "r": 37,
    "g": 83,
    "b": 155
  },
  "hsl": {
    "h": 216.61,
    "s": 61.458,
    "l": 37.647
  },
  "oklch": {
    "l": 0.45049,
    "c": 0.12792,
    "h": 259.2
  },
  "luminance": 0.08946
}

Semantic roles & 50–950 ramp

primary
#25539B
secondary
#BF995D
accent
#A643E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #25539B

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

Preview Lab → · Contrast checker → · Palette generator →

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