#2246A8#2246A8

#2246A8 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.1% C 0.163 H 264.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#2246A8
RGBrgb(34, 70, 168)
HSLhsl(224, 66%, 40%)
HSVhsv(224, 80%, 66%)
CMYKcmyk(79.8%, 58.3%, 0%, 34.1%)
CIE-LABlab(33.02, 24.08, -56.26)
CIE-LCHlch(33.02, 61.20, 293.17°)
OKLaboklab(43.14% -0.0145 -0.1625)
OKLCHoklch(43.14% 0.163 264.9)
XYZxyz(9.9152, 7.5464, 37.9722)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2246A8 #A88422
analogous
#2289A8 #2246A8 #4122A8
triadic
#2246A8 #A82246 #46A822
tetradic
#2246A8 #A82289 #A88422 #22A841
square
#2246A8 #A82289 #A88422 #22A841
split-complementary
#2246A8 #A84122 #89A822
monochromatic
#0D1C42 #183175 #2246A8 #325ED5 #6586E0

Accessibility & contrast

On white

8.37
#2246A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2246A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2246A8
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2246A8#FFFFFF#000000##FFFFFF
##2246A81.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AB
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#005F70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2246a8;
/* rgb */ color: rgb(34, 70, 168);
/* oklch */ color: oklch(43.1% 0.163 264.9);
Tailwind
colors: {
  custom: {
    50: '#7378c3',
    500: '#2246a8',
    950: '#000000',
  },
}
SCSS
$custom: #2246a8;
$custom-light: #7378c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2246a8",
  "rgb": {
    "r": 34,
    "g": 70,
    "b": 168
  },
  "hsl": {
    "h": 223.881,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.43142,
    "c": 0.16316,
    "h": 264.9
  },
  "luminance": 0.07548
}

Semantic roles & 50–950 ramp

primary
#2246A8
secondary
#C5AA61
accent
#BB3FE9
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2246A8

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

Preview Lab → · Contrast checker → · Palette generator →

#2246A8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva