#2549B1#2549B1

#2549B1 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.6% C 0.171 H 265.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#2549B1
RGBrgb(37, 73, 177)
HSLhsl(225, 65%, 42%)
HSVhsv(225, 79%, 69%)
CMYKcmyk(79.1%, 58.8%, 0%, 30.6%)
CIE-LABlab(34.66, 25.86, -58.94)
CIE-LCHlch(34.66, 64.36, 293.69°)
OKLaboklab(44.63% -0.0139 -0.1703)
OKLCHoklch(44.63% 0.171 265.3)
XYZxyz(11.0785, 8.3314, 42.6107)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2549B1 #B18D25
analogous
#258FB1 #2549B1 #4725B1
triadic
#2549B1 #B12549 #49B125
tetradic
#2549B1 #B1258F #B18D25 #25B147
square
#2549B1 #B1258F #B18D25 #25B147
split-complementary
#2549B1 #B14725 #8FB125
monochromatic
#101F4C #1A347E #2549B1 #3D64D6 #6F8DE1

Accessibility & contrast

On white

7.88
#2549B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2549B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2549B1
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2549B1#FFFFFF#000000##FFFFFF
##2549B11.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#004BAF
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2549b1;
/* rgb */ color: rgb(37, 73, 177);
/* oklch */ color: oklch(44.6% 0.171 265.3);
Tailwind
colors: {
  custom: {
    50: '#767bc9',
    500: '#2549b1',
    950: '#000000',
  },
}
SCSS
$custom: #2549b1;
$custom-light: #767bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2549b1",
  "rgb": {
    "r": 37,
    "g": 73,
    "b": 177
  },
  "hsl": {
    "h": 224.571,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.44633,
    "c": 0.17084,
    "h": 265.3
  },
  "luminance": 0.08333
}

Semantic roles & 50–950 ramp

primary
#2549B1
secondary
#C8B06A
accent
#BD3FE8
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2549B1

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

Preview Lab → · Contrast checker → · Palette generator →

#2549B1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva