#25529F#25529F

#25529F is a mid, vivid blue. Relative luminance 0.089; OKLCH L 45.1% C 0.135 H 260.4°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#25529F
RGBrgb(37, 82, 159)
HSLhsl(218, 62%, 38%)
HSVhsv(218, 77%, 62%)
CMYKcmyk(76.7%, 48.4%, 0%, 37.6%)
CIE-LABlab(35.85, 12.84, -46.28)
CIE-LCHlch(35.85, 48.02, 285.50°)
OKLaboklab(45.11% -0.0225 -0.1329)
OKLCHoklch(45.11% 0.135 260.4)
XYZxyz(10.0360, 8.9300, 33.9889)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25529F #9F7225
analogous
#258F9F #25529F #35259F
triadic
#25529F #9F2552 #529F25
tetradic
#25529F #9F258F #9F7225 #259F35
square
#25529F #9F258F #9F7225 #259F35
split-complementary
#25529F #9F3525 #8F9F25
monochromatic
#0E1F3C #19386D #25529F #326CCF #6490DB

Accessibility & contrast

On white

7.54
#25529F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#25529F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25529F
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25529F#FFFFFF#000000##FFFFFF
##25529F1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275AA2
Deuteranopia (green-blind)
#014F9D
Tritanopia (blue-blind)
#006471
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #25529f;
/* rgb */ color: rgb(37, 82, 159);
/* oklch */ color: oklch(45.1% 0.135 260.4);
Tailwind
colors: {
  custom: {
    50: '#7282bc',
    500: '#25529f',
    950: '#000000',
  },
}
SCSS
$custom: #25529f;
$custom-light: #7282bc;
$custom-dark: #000000;
JSON
{
  "hex": "#25529f",
  "rgb": {
    "r": 37,
    "g": 82,
    "b": 159
  },
  "hsl": {
    "h": 217.869,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45111,
    "c": 0.13476,
    "h": 260.4
  },
  "luminance": 0.08931
}

Semantic roles & 50–950 ramp

primary
#25529F
secondary
#C09D5F
accent
#A942E5
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #25529F

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

Preview Lab → · Contrast checker → · Palette generator →

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