#2249B2#2249B2

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

Color values

HEX#2249B2
RGBrgb(34, 73, 178)
HSLhsl(224, 68%, 42%)
HSVhsv(224, 81%, 70%)
CMYKcmyk(80.9%, 59%, 0%, 30.2%)
CIE-LABlab(34.64, 25.95, -59.58)
CIE-LCHlch(34.64, 64.99, 293.54°)
OKLaboklab(44.61% -0.0161 -0.1722)
OKLCHoklch(44.61% 0.173 264.7)
XYZxyz(11.0753, 8.3182, 43.1327)
Luminance0.0832 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2249B2 #B28B22
analogous
#2291B2 #2249B2 #4322B2
triadic
#2249B2 #B22249 #49B222
tetradic
#2249B2 #B22291 #B28B22 #22B243
square
#2249B2 #B22291 #B28B22 #22B243
split-complementary
#2249B2 #B24322 #91B222
monochromatic
#0E1F4B #18347F #2249B2 #3864D9 #6C8CE3

Accessibility & contrast

On white

7.88
#2249B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2249B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2249B2
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2249B2#FFFFFF#000000##FFFFFF
##2249B21.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2249b2;
/* rgb */ color: rgb(34, 73, 178);
/* oklch */ color: oklch(44.6% 0.173 264.7);
Tailwind
colors: {
  custom: {
    50: '#767bca',
    500: '#2249b2',
    950: '#000000',
  },
}
SCSS
$custom: #2249b2;
$custom-light: #767bca;
$custom-dark: #000000;
JSON
{
  "hex": "#2249b2",
  "rgb": {
    "r": 34,
    "g": 73,
    "b": 178
  },
  "hsl": {
    "h": 223.75,
    "s": 67.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44608,
    "c": 0.17296,
    "h": 264.7
  },
  "luminance": 0.0832
}

Semantic roles & 50–950 ramp

primary
#2249B2
secondary
#C9AE67
accent
#BC3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2249B2

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

Preview Lab → · Contrast checker → · Palette generator →

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