#2249A4#2249A4

#2249A4 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.4% C 0.154 H 263.7°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#2249A4
RGBrgb(34, 73, 164)
HSLhsl(222, 66%, 39%)
HSVhsv(222, 79%, 64%)
CMYKcmyk(79.3%, 55.5%, 0%, 35.7%)
CIE-LABlab(33.53, 20.49, -53.03)
CIE-LCHlch(33.53, 56.86, 291.13°)
OKLaboklab(43.43% -0.0169 -0.153)
OKLCHoklch(43.43% 0.154 263.7)
XYZxyz(9.7407, 7.7844, 36.1039)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2249A4 #A47D22
analogous
#228AA4 #2249A4 #3C22A4
triadic
#2249A4 #A42249 #49A422
tetradic
#2249A4 #A4228A #A47D22 #22A43C
square
#2249A4 #A4228A #A47D22 #22A43C
split-complementary
#2249A4 #A43C22 #8AA422
monochromatic
#0D1C3F #173271 #2249A4 #2F61D4 #6287DE

Accessibility & contrast

On white

8.21
#2249A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#2249A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2249A4
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2249A4#FFFFFF#000000##FFFFFF
##2249A41.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A7
Deuteranopia (green-blind)
#0049A2
Tritanopia (blue-blind)
#005F6F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2249a4;
/* rgb */ color: rgb(34, 73, 164);
/* oklch */ color: oklch(43.4% 0.154 263.7);
Tailwind
colors: {
  custom: {
    50: '#727bc0',
    500: '#2249a4',
    950: '#000000',
  },
}
SCSS
$custom: #2249a4;
$custom-light: #727bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2249a4",
  "rgb": {
    "r": 34,
    "g": 73,
    "b": 164
  },
  "hsl": {
    "h": 222,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.43427,
    "c": 0.1539,
    "h": 263.7
  },
  "luminance": 0.07786
}

Semantic roles & 50–950 ramp

primary
#2249A4
secondary
#C4A55E
accent
#B63FE9
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2249A4

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

Preview Lab → · Contrast checker → · Palette generator →

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