#25529C#25529C

#25529C is a dark, vivid blue. Relative luminance 0.088; OKLCH L 44.9% C 0.131 H 259.9°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#25529C
RGBrgb(37, 82, 156)
HSLhsl(217, 62%, 38%)
HSVhsv(217, 76%, 61%)
CMYKcmyk(76.3%, 47.4%, 0%, 38.8%)
CIE-LABlab(35.65, 11.66, -44.79)
CIE-LCHlch(35.65, 46.29, 284.59°)
OKLaboklab(44.89% -0.023 -0.1285)
OKLCHoklch(44.89% 0.131 259.9)
XYZxyz(9.7788, 8.8271, 32.6345)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25529C #9C6F25
analogous
#258D9C #25529C #33259C
triadic
#25529C #9C2552 #529C25
tetradic
#25529C #9C258D #9C6F25 #259C33
square
#25529C #9C258D #9C6F25 #259C33
split-complementary
#25529C #9C3325 #8D9C25
monochromatic
#0E1E39 #19386B #25529C #316CCD #628FDA

Accessibility & contrast

On white

7.59
#25529C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#25529C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25529C
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25529C#FFFFFF#000000##FFFFFF
##25529C1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5A9F
Deuteranopia (green-blind)
#0C4F9B
Tritanopia (blue-blind)
#00646F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #25529c;
/* rgb */ color: rgb(37, 82, 156);
/* oklch */ color: oklch(44.9% 0.131 259.9);
Tailwind
colors: {
  custom: {
    50: '#7182ba',
    500: '#25529c',
    950: '#000000',
  },
}
SCSS
$custom: #25529c;
$custom-light: #7182ba;
$custom-dark: #000000;
JSON
{
  "hex": "#25529c",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 156
  },
  "hsl": {
    "h": 217.311,
    "s": 61.658,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44893,
    "c": 0.13055,
    "h": 259.9
  },
  "luminance": 0.08828
}

Semantic roles & 50–950 ramp

primary
#25529C
secondary
#BF9A5E
accent
#A843E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #25529C

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

Preview Lab → · Contrast checker → · Palette generator →

#25529C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva