#2249A8#2249A8

#2249A8 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.8% C 0.159 H 264.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2249A8
RGBrgb(34, 73, 168)
HSLhsl(223, 66%, 40%)
HSVhsv(223, 80%, 66%)
CMYKcmyk(79.8%, 56.5%, 0%, 34.1%)
CIE-LABlab(33.84, 22.06, -54.93)
CIE-LCHlch(33.84, 59.19, 291.88°)
OKLaboklab(43.76% -0.0166 -0.1585)
OKLCHoklch(43.76% 0.159 264)
XYZxyz(10.1076, 7.9311, 38.0363)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2249A8 #A88122
analogous
#228CA8 #2249A8 #3E22A8
triadic
#2249A8 #A82249 #49A822
tetradic
#2249A8 #A8228C #A88122 #22A83E
square
#2249A8 #A8228C #A88122 #22A83E
split-complementary
#2249A8 #A83E22 #8CA822
monochromatic
#0D1D42 #183375 #2249A8 #3261D5 #6588E0

Accessibility & contrast

On white

8.12
#2249A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2249A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2249A8
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2249A8#FFFFFF#000000##FFFFFF
##2249A81.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056AB
Deuteranopia (green-blind)
#004AA6
Tritanopia (blue-blind)
#006171
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2249a8;
/* rgb */ color: rgb(34, 73, 168);
/* oklch */ color: oklch(43.8% 0.159 264.0);
Tailwind
colors: {
  custom: {
    50: '#737bc3',
    500: '#2249a8',
    950: '#000000',
  },
}
SCSS
$custom: #2249a8;
$custom-light: #737bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#2249a8",
  "rgb": {
    "r": 34,
    "g": 73,
    "b": 168
  },
  "hsl": {
    "h": 222.537,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43758,
    "c": 0.15941,
    "h": 264
  },
  "luminance": 0.07932
}

Semantic roles & 50–950 ramp

primary
#2249A8
secondary
#C5A861
accent
#B83FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2249A8

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

Preview Lab → · Contrast checker → · Palette generator →

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