#25549F#25549F

#25549F is a mid, vivid blue. Relative luminance 0.092; OKLCH L 45.6% C 0.132 H 259.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#25549F
RGBrgb(37, 84, 159)
HSLhsl(217, 62%, 38%)
HSVhsv(217, 77%, 62%)
CMYKcmyk(76.7%, 47.2%, 0%, 37.6%)
CIE-LABlab(36.43, 11.51, -45.33)
CIE-LCHlch(36.43, 46.77, 284.24°)
OKLaboklab(45.56% -0.0242 -0.1301)
OKLCHoklch(45.56% 0.132 259.5)
XYZxyz(10.1890, 9.2360, 34.0399)
Luminance0.0924 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#25549F #9F7025
analogous
#25919F #25549F #33259F
triadic
#25549F #9F2554 #549F25
tetradic
#25549F #9F2591 #9F7025 #259F33
square
#25549F #9F2591 #9F7025 #259F33
split-complementary
#25549F #9F3325 #919F25
monochromatic
#0E203C #193A6D #25549F #326FCF #6492DB

Accessibility & contrast

On white

7.38
#25549F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#25549F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #25549F
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##25549F#FFFFFF#000000##FFFFFF
##25549F1.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5CA2
Deuteranopia (green-blind)
#0D509D
Tritanopia (blue-blind)
#006672
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #25549f;
/* rgb */ color: rgb(37, 84, 159);
/* oklch */ color: oklch(45.6% 0.132 259.5);
Tailwind
colors: {
  custom: {
    50: '#7183bc',
    500: '#25549f',
    950: '#000000',
  },
}
SCSS
$custom: #25549f;
$custom-light: #7183bc;
$custom-dark: #000000;
JSON
{
  "hex": "#25549f",
  "rgb": {
    "r": 37,
    "g": 84,
    "b": 159
  },
  "hsl": {
    "h": 216.885,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.45561,
    "c": 0.13229,
    "h": 259.5
  },
  "luminance": 0.09237
}

Semantic roles & 50–950 ramp

primary
#25549F
secondary
#C09B5F
accent
#A742E5
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090A12
muted
#7B7C81

Preview Lab

Preview with #25549F

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

Preview Lab → · Contrast checker → · Palette generator →

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