#2266AC#2266AC

#2266AC is a mid, vivid cyan. Relative luminance 0.128; OKLCH L 50.5% C 0.130 H 252.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#2266AC
RGBrgb(34, 102, 172)
HSLhsl(210, 67%, 40%)
HSVhsv(210, 80%, 67%)
CMYKcmyk(80.2%, 40.7%, 0%, 32.5%)
CIE-LABlab(42.49, 4.54, -43.36)
CIE-LCHlch(42.49, 43.60, 275.97°)
OKLaboklab(50.49% -0.0389 -0.124)
OKLCHoklch(50.49% 0.13 252.6)
XYZxyz(12.8546, 12.8198, 40.8187)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2266AC #AC6822
analogous
#22ABAC #2266AC #2322AC
triadic
#2266AC #AC2266 #66AC22
tetradic
#2266AC #AC22AB #AC6822 #22AC23
square
#2266AC #AC22AB #AC6822 #22AC23
split-complementary
#2266AC #AC2322 #ABAC22
monochromatic
#0E2946 #184879 #2266AC #3484D7 #67A3E1

Accessibility & contrast

On white

5.89
#2266AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#2266AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2266AC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2266AC#FFFFFF#000000##FFFFFF
##2266AC1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446BAF
Deuteranopia (green-blind)
#2D5FAB
Tritanopia (blue-blind)
#007780
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2266ac;
/* rgb */ color: rgb(34, 102, 172);
/* oklch */ color: oklch(50.5% 0.130 252.6);
Tailwind
colors: {
  custom: {
    50: '#7391c5',
    500: '#2266ac',
    950: '#000000',
  },
}
SCSS
$custom: #2266ac;
$custom-light: #7391c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2266ac",
  "rgb": {
    "r": 34,
    "g": 102,
    "b": 172
  },
  "hsl": {
    "h": 210.435,
    "s": 66.99,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50491,
    "c": 0.12993,
    "h": 252.6
  },
  "luminance": 0.12821
}

Semantic roles & 50–950 ramp

primary
#2266AC
secondary
#C79663
accent
#953EEA
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090C13
muted
#7B7D82

Preview Lab

Preview with #2266AC

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

Preview Lab → · Contrast checker → · Palette generator →

#2266AC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva