#2246A4#2246A4

#2246A4 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.8% C 0.158 H 264.6°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#2246A4
RGBrgb(34, 70, 164)
HSLhsl(223, 66%, 39%)
HSVhsv(223, 79%, 64%)
CMYKcmyk(79.3%, 57.3%, 0%, 35.7%)
CIE-LABlab(32.70, 22.52, -54.38)
CIE-LCHlch(32.70, 58.86, 292.50°)
OKLaboklab(42.8% -0.0147 -0.157)
OKLCHoklch(42.8% 0.158 264.6)
XYZxyz(9.5483, 7.3996, 36.0398)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2246A4 #A48022
analogous
#2287A4 #2246A4 #3F22A4
triadic
#2246A4 #A42246 #46A422
tetradic
#2246A4 #A42287 #A48022 #22A43F
square
#2246A4 #A42287 #A48022 #22A43F
split-complementary
#2246A4 #A43F22 #87A422
monochromatic
#0D1B3F #173071 #2246A4 #2F5DD4 #6284DE

Accessibility & contrast

On white

8.47
#2246A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2246A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2246A4
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2246A4#FFFFFF#000000##FFFFFF
##2246A41.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A7
Deuteranopia (green-blind)
#0047A2
Tritanopia (blue-blind)
#005D6E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2246a4;
/* rgb */ color: rgb(34, 70, 164);
/* oklch */ color: oklch(42.8% 0.158 264.6);
Tailwind
colors: {
  custom: {
    50: '#7278c0',
    500: '#2246a4',
    950: '#000000',
  },
}
SCSS
$custom: #2246a4;
$custom-light: #7278c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2246a4",
  "rgb": {
    "r": 34,
    "g": 70,
    "b": 164
  },
  "hsl": {
    "h": 223.385,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.42801,
    "c": 0.15768,
    "h": 264.6
  },
  "luminance": 0.07401
}

Semantic roles & 50–950 ramp

primary
#2246A4
secondary
#C4A75E
accent
#BA3FE9
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2246A4

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

Preview Lab → · Contrast checker → · Palette generator →

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