#2247BD#2247BD

#2247BD is a mid, vivid blue. Relative luminance 0.085; OKLCH L 45.2% C 0.190 H 265.6°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#2247BD
RGBrgb(34, 71, 189)
HSLhsl(226, 70%, 44%)
HSVhsv(226, 82%, 74%)
CMYKcmyk(82%, 62.4%, 0%, 25.9%)
CIE-LABlab(35.04, 31.49, -65.41)
CIE-LCHlch(35.04, 72.59, 295.70°)
OKLaboklab(45.2% -0.0147 -0.1893)
OKLCHoklch(45.2% 0.19 265.6)
XYZxyz(12.0950, 8.5192, 49.1412)
Luminance0.0852 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2247BD #BD9822
analogous
#2294BD #2247BD #4A22BD
triadic
#2247BD #BD2247 #47BD22
tetradic
#2247BD #BD2294 #BD9822 #22BD4A
square
#2247BD #BD2294 #BD9822 #22BD4A
split-complementary
#2247BD #BD4A22 #94BD22
monochromatic
#0F2055 #193489 #2247BD #4065DD #738FE6

Accessibility & contrast

On white

7.77
#2247BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2247BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2247BD
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2247BD#FFFFFF#000000##FFFFFF
##2247BD1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC1
Deuteranopia (green-blind)
#004BBB
Tritanopia (blue-blind)
#00667B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2247bd;
/* rgb */ color: rgb(34, 71, 189);
/* oklch */ color: oklch(45.2% 0.190 265.6);
Tailwind
colors: {
  custom: {
    50: '#7979d2',
    500: '#2247bd',
    950: '#000000',
  },
}
SCSS
$custom: #2247bd;
$custom-light: #7979d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2247bd",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 189
  },
  "hsl": {
    "h": 225.677,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45196,
    "c": 0.18989,
    "h": 265.6
  },
  "luminance": 0.08521
}

Semantic roles & 50–950 ramp

primary
#2247BD
secondary
#CDB66E
accent
#C23BEC
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0914
muted
#7C7B83

Preview Lab

Preview with #2247BD

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

Preview Lab → · Contrast checker → · Palette generator →

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