#2266B3#2266B3

#2266B3 is a mid, vivid cyan. Relative luminance 0.131; OKLCH L 51.0% C 0.139 H 254.4°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#2266B3
RGBrgb(34, 102, 179)
HSLhsl(212, 68%, 42%)
HSVhsv(212, 81%, 70%)
CMYKcmyk(81%, 43%, 0%, 29.8%)
CIE-LABlab(42.91, 7.25, -46.80)
CIE-LCHlch(42.91, 47.36, 278.81°)
OKLaboklab(50.95% -0.0373 -0.1341)
OKLCHoklch(50.95% 0.139 254.4)
XYZxyz(13.5447, 13.0959, 44.4530)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2266B3 #B36F22
analogous
#22AFB3 #2266B3 #2722B3
triadic
#2266B3 #B32266 #66B322
tetradic
#2266B3 #B322AF #B36F22 #22B327
square
#2266B3 #B322AF #B36F22 #22B327
split-complementary
#2266B3 #B32722 #AFB322
monochromatic
#0E2B4C #184980 #2266B3 #3984D9 #6CA4E3

Accessibility & contrast

On white

5.80
#2266B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#2266B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2266B3#FFFFFF#000000##FFFFFF
##2266B31.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F6CB6
Deuteranopia (green-blind)
#245FB1
Tritanopia (blue-blind)
#007884
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #2266b3;
/* rgb */ color: rgb(34, 102, 179);
/* oklch */ color: oklch(51.0% 0.139 254.4);
Tailwind
colors: {
  custom: {
    50: '#7591ca',
    500: '#2266b3',
    950: '#000000',
  },
}
SCSS
$custom: #2266b3;
$custom-light: #7591ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2266b3",
  "rgb": {
    "r": 34,
    "g": 102,
    "b": 179
  },
  "hsl": {
    "h": 211.862,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50951,
    "c": 0.13918,
    "h": 254.4
  },
  "luminance": 0.13097
}

Semantic roles & 50–950 ramp

primary
#2266B3
secondary
#C99B68
accent
#993DEB
background
#F7F8FC
surface
#EEF0F8
border
#C9CBD1
text
#0A0C13
muted
#7C7D82

Preview Lab

Preview with #2266B3

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

Preview Lab → · Contrast checker → · Palette generator →

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