#2247B2#2247B2

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

Color values

HEX#2247B2
RGBrgb(34, 71, 178)
HSLhsl(225, 68%, 42%)
HSVhsv(225, 81%, 70%)
CMYKcmyk(80.9%, 60.1%, 0%, 30.2%)
CIE-LABlab(34.11, 27.29, -60.45)
CIE-LCHlch(34.11, 66.32, 294.29°)
OKLaboklab(44.21% -0.0148 -0.1748)
OKLCHoklch(44.21% 0.175 265.2)
XYZxyz(10.9460, 8.0596, 43.0896)
Luminance0.0806 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2247B2 #B28D22
analogous
#228FB2 #2247B2 #4522B2
triadic
#2247B2 #B22247 #47B222
tetradic
#2247B2 #B2228F #B28D22 #22B245
square
#2247B2 #B2228F #B28D22 #22B245
split-complementary
#2247B2 #B24522 #8FB222
monochromatic
#0E1E4B #18337F #2247B2 #3862D9 #6C8AE3

Accessibility & contrast

On white

8.04
#2247B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2247B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2247B2
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2247B2#FFFFFF#000000##FFFFFF
##2247B21.008.042.618.04
#FFFFFF8.041.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B6
Deuteranopia (green-blind)
#004AB0
Tritanopia (blue-blind)
#006275
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2247b2;
/* rgb */ color: rgb(34, 71, 178);
/* oklch */ color: oklch(44.2% 0.175 265.2);
Tailwind
colors: {
  custom: {
    50: '#7679ca',
    500: '#2247b2',
    950: '#000000',
  },
}
SCSS
$custom: #2247b2;
$custom-light: #7679ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2247b2",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 178
  },
  "hsl": {
    "h": 224.583,
    "s": 67.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44211,
    "c": 0.17541,
    "h": 265.2
  },
  "luminance": 0.08061
}

Semantic roles & 50–950 ramp

primary
#2247B2
secondary
#C9B067
accent
#BE3DEB
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2247B2

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

Preview Lab → · Contrast checker → · Palette generator →

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