#2249B5#2249B5

#2249B5 is a dark, vivid blue. Relative luminance 0.084; OKLCH L 44.9% C 0.177 H 264.8°. Best body text is #FFFFFF at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#2249B5
RGBrgb(34, 73, 181)
HSLhsl(224, 68%, 42%)
HSVhsv(224, 81%, 71%)
CMYKcmyk(81.2%, 59.7%, 0%, 29%)
CIE-LABlab(34.88, 27.11, -60.95)
CIE-LCHlch(34.88, 66.71, 293.98°)
OKLaboklab(44.87% -0.0159 -0.1762)
OKLCHoklch(44.87% 0.177 264.8)
XYZxyz(11.3798, 8.4400, 44.7364)
Luminance0.0844 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2249B5 #B58E22
analogous
#2292B5 #2249B5 #4522B5
triadic
#2249B5 #B52249 #49B522
tetradic
#2249B5 #B52292 #B58E22 #22B545
square
#2249B5 #B52292 #B58E22 #22B545
split-complementary
#2249B5 #B54522 #92B522
monochromatic
#0F1F4E #183481 #2249B5 #3A65DA #6E8DE4

Accessibility & contrast

On white

7.81
#2249B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#2249B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2249B5
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2249B5#FFFFFF#000000##FFFFFF
##2249B51.007.812.697.81
#FFFFFF7.811.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B9
Deuteranopia (green-blind)
#004BB3
Tritanopia (blue-blind)
#006578
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2249b5;
/* rgb */ color: rgb(34, 73, 181);
/* oklch */ color: oklch(44.9% 0.177 264.8);
Tailwind
colors: {
  custom: {
    50: '#777bcc',
    500: '#2249b5',
    950: '#000000',
  },
}
SCSS
$custom: #2249b5;
$custom-light: #777bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2249b5",
  "rgb": {
    "r": 34,
    "g": 73,
    "b": 181
  },
  "hsl": {
    "h": 224.082,
    "s": 68.372,
    "l": 42.157
  },
  "oklch": {
    "l": 0.44868,
    "c": 0.17696,
    "h": 264.8
  },
  "luminance": 0.08441
}

Semantic roles & 50–950 ramp

primary
#2249B5
secondary
#CAB069
accent
#BD3DEB
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2249B5

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

Preview Lab → · Contrast checker → · Palette generator →

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