#2266AA#2266AA

#2266AA is a mid, vivid cyan. Relative luminance 0.127; OKLCH L 50.4% C 0.127 H 252.0°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#2266AA
RGBrgb(34, 102, 170)
HSLhsl(210, 67%, 40%)
HSVhsv(210, 80%, 67%)
CMYKcmyk(80%, 40%, 0%, 33.3%)
CIE-LABlab(42.37, 3.76, -42.37)
CIE-LCHlch(42.37, 42.54, 275.07°)
OKLaboklab(50.36% -0.0394 -0.121)
OKLCHoklch(50.36% 0.127 252)
XYZxyz(12.6640, 12.7436, 39.8147)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2266AA #AA6622
analogous
#22AAAA #2266AA #2222AA
triadic
#2266AA #AA2266 #66AA22
tetradic
#2266AA #AA22AA #AA6622 #22AA22
square
#2266AA #AA22AA #AA6622 #22AA22
split-complementary
#2266AA #AA2222 #AAAA22
monochromatic
#0E2944 #184777 #2266AA #3385D6 #66A3E0

Accessibility & contrast

On white

5.92
#2266AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#2266AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2266AA#FFFFFF#000000##FFFFFF
##2266AA1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456BAD
Deuteranopia (green-blind)
#2F5EA9
Tritanopia (blue-blind)
#007680
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #2266aa;
/* rgb */ color: rgb(34, 102, 170);
/* oklch */ color: oklch(50.4% 0.127 252.0);
Tailwind
colors: {
  custom: {
    50: '#7391c4',
    500: '#2266aa',
    950: '#000000',
  },
}
SCSS
$custom: #2266aa;
$custom-light: #7391c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2266aa",
  "rgb": {
    "r": 34,
    "g": 102,
    "b": 170
  },
  "hsl": {
    "h": 210,
    "s": 66.667,
    "l": 40
  },
  "oklch": {
    "l": 0.50363,
    "c": 0.12731,
    "h": 252
  },
  "luminance": 0.12745
}

Semantic roles & 50–950 ramp

primary
#2266AA
secondary
#C69462
accent
#943EEA
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#090C12
muted
#7B7D81

Preview Lab

Preview with #2266AA

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

Preview Lab → · Contrast checker → · Palette generator →

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