#2249A2#2249A2

#2249A2 is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.3% C 0.151 H 263.5°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2249A2
RGBrgb(34, 73, 162)
HSLhsl(222, 65%, 38%)
HSVhsv(222, 79%, 64%)
CMYKcmyk(79%, 54.9%, 0%, 36.5%)
CIE-LABlab(33.38, 19.71, -52.08)
CIE-LCHlch(33.38, 55.68, 290.73°)
OKLaboklab(43.26% -0.0171 -0.1502)
OKLCHoklch(43.26% 0.151 263.5)
XYZxyz(9.5615, 7.7127, 35.1602)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2249A2 #A27B22
analogous
#2289A2 #2249A2 #3B22A2
triadic
#2249A2 #A22249 #49A222
tetradic
#2249A2 #A22289 #A27B22 #22A23B
square
#2249A2 #A22289 #A27B22 #22A23B
split-complementary
#2249A2 #A23B22 #89A222
monochromatic
#0D1B3D #17326F #2249A2 #2E60D3 #6187DE

Accessibility & contrast

On white

8.26
#2249A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2249A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2249A2
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2249A2#FFFFFF#000000##FFFFFF
##2249A21.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055A5
Deuteranopia (green-blind)
#0049A0
Tritanopia (blue-blind)
#005F6E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2249a2;
/* rgb */ color: rgb(34, 73, 162);
/* oklch */ color: oklch(43.3% 0.151 263.5);
Tailwind
colors: {
  custom: {
    50: '#727bbe',
    500: '#2249a2',
    950: '#000000',
  },
}
SCSS
$custom: #2249a2;
$custom-light: #727bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2249a2",
  "rgb": {
    "r": 34,
    "g": 73,
    "b": 162
  },
  "hsl": {
    "h": 221.719,
    "s": 65.306,
    "l": 38.431
  },
  "oklch": {
    "l": 0.43264,
    "c": 0.15114,
    "h": 263.5
  },
  "luminance": 0.07714
}

Semantic roles & 50–950 ramp

primary
#2249A2
secondary
#C3A45D
accent
#B540E8
background
#F7F7FB
surface
#EDEDF7
border
#C8C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2249A2

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

Preview Lab → · Contrast checker → · Palette generator →

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