#2549B2#2549B2

#2549B2 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.7% C 0.172 H 265.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#2549B2
RGBrgb(37, 73, 178)
HSLhsl(225, 66%, 42%)
HSVhsv(225, 79%, 70%)
CMYKcmyk(79.2%, 59%, 0%, 30.2%)
CIE-LABlab(34.74, 26.25, -59.40)
CIE-LCHlch(34.74, 64.94, 293.84°)
OKLaboklab(44.72% -0.0138 -0.1716)
OKLCHoklch(44.72% 0.172 265.4)
XYZxyz(11.1785, 8.3715, 43.1375)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2549B2 #B28E25
analogous
#258FB2 #2549B2 #4825B2
triadic
#2549B2 #B22549 #49B225
tetradic
#2549B2 #B2258F #B28E25 #25B248
square
#2549B2 #B2258F #B28E25 #25B248
split-complementary
#2549B2 #B24825 #8FB225
monochromatic
#101F4D #1A347F #2549B2 #3D65D7 #708DE1

Accessibility & contrast

On white

7.85
#2549B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2549B2
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2549B2#FFFFFF#000000##FFFFFF
##2549B21.007.852.677.85
#FFFFFF7.851.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#004BB0
Tritanopia (blue-blind)
#006476
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2549b2;
/* rgb */ color: rgb(37, 73, 178);
/* oklch */ color: oklch(44.7% 0.172 265.4);
Tailwind
colors: {
  custom: {
    50: '#777bca',
    500: '#2549b2',
    950: '#000000',
  },
}
SCSS
$custom: #2549b2;
$custom-light: #777bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2549b2",
  "rgb": {
    "r": 37,
    "g": 73,
    "b": 178
  },
  "hsl": {
    "h": 224.681,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44719,
    "c": 0.17219,
    "h": 265.4
  },
  "luminance": 0.08373
}

Semantic roles & 50–950 ramp

primary
#2549B2
secondary
#C8B06B
accent
#BD3FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2549B2

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

Preview Lab → · Contrast checker → · Palette generator →

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