#2247B3#2247B3

#2247B3 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.3% C 0.177 H 265.2°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#2247B3
RGBrgb(34, 71, 179)
HSLhsl(225, 68%, 42%)
HSVhsv(225, 81%, 70%)
CMYKcmyk(81%, 60.3%, 0%, 29.8%)
CIE-LABlab(34.19, 27.67, -60.90)
CIE-LCHlch(34.19, 66.89, 294.43°)
OKLaboklab(44.3% -0.0148 -0.1761)
OKLCHoklch(44.3% 0.177 265.2)
XYZxyz(11.0467, 8.0999, 43.6203)
Luminance0.0810 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2247B3 #B38E22
analogous
#2290B3 #2247B3 #4622B3
triadic
#2247B3 #B32247 #47B322
tetradic
#2247B3 #B32290 #B38E22 #22B346
square
#2247B3 #B32290 #B38E22 #22B346
split-complementary
#2247B3 #B34622 #90B322
monochromatic
#0E1E4C #183380 #2247B3 #3962D9 #6C8BE3

Accessibility & contrast

On white

8.01
#2247B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2247B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2247B3
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2247B3#FFFFFF#000000##FFFFFF
##2247B31.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#004AB1
Tritanopia (blue-blind)
#006376
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2247b3;
/* rgb */ color: rgb(34, 71, 179);
/* oklch */ color: oklch(44.3% 0.177 265.2);
Tailwind
colors: {
  custom: {
    50: '#7679cb',
    500: '#2247b3',
    950: '#000000',
  },
}
SCSS
$custom: #2247b3;
$custom-light: #7679cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2247b3",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 179
  },
  "hsl": {
    "h": 224.69,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.44299,
    "c": 0.17674,
    "h": 265.2
  },
  "luminance": 0.08101
}

Semantic roles & 50–950 ramp

primary
#2247B3
secondary
#C9B068
accent
#BF3DEB
background
#F7F7FC
surface
#EEEDF9
border
#C9C8D2
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2247B3

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

Preview Lab → · Contrast checker → · Palette generator →

#2247B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva