#2247AF#2247AF

#2247AF is a dark, vivid blue. Relative luminance 0.079; OKLCH L 43.9% C 0.171 H 265.0°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#2247AF
RGBrgb(34, 71, 175)
HSLhsl(224, 67%, 41%)
HSVhsv(224, 81%, 69%)
CMYKcmyk(80.6%, 59.4%, 0%, 31.4%)
CIE-LABlab(33.86, 26.13, -59.07)
CIE-LCHlch(33.86, 64.59, 293.86°)
OKLaboklab(43.95% -0.0149 -0.1707)
OKLCHoklch(43.95% 0.171 265)
XYZxyz(10.6480, 7.9404, 41.5206)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2247AF #AF8A22
analogous
#228DAF #2247AF #4322AF
triadic
#2247AF #AF2247 #47AF22
tetradic
#2247AF #AF228D #AF8A22 #22AF43
square
#2247AF #AF228D #AF8A22 #22AF43
split-complementary
#2247AF #AF4322 #8DAF22
monochromatic
#0E1D49 #18327C #2247AF #3661D8 #6989E2

Accessibility & contrast

On white

8.11
#2247AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2247AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2247AF
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2247AF#FFFFFF#000000##FFFFFF
##2247AF1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B2
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#006174
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2247af;
/* rgb */ color: rgb(34, 71, 175);
/* oklch */ color: oklch(43.9% 0.171 265.0);
Tailwind
colors: {
  custom: {
    50: '#7579c8',
    500: '#2247af',
    950: '#000000',
  },
}
SCSS
$custom: #2247af;
$custom-light: #7579c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2247af",
  "rgb": {
    "r": 34,
    "g": 71,
    "b": 175
  },
  "hsl": {
    "h": 224.255,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.43948,
    "c": 0.17139,
    "h": 265
  },
  "luminance": 0.07942
}

Semantic roles & 50–950 ramp

primary
#2247AF
secondary
#C8AE65
accent
#BD3DEA
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0913
muted
#7C7B82

Preview Lab

Preview with #2247AF

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

Preview Lab → · Contrast checker → · Palette generator →

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