#227ABC#227ABC

#227ABC is a mid, vivid cyan. Relative luminance 0.179; OKLCH L 56.2% C 0.130 H 246.3°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#227ABC
RGBrgb(34, 122, 188)
HSLhsl(206, 69%, 44%)
HSVhsv(206, 82%, 74%)
CMYKcmyk(81.9%, 35.1%, 0%, 26.3%)
CIE-LABlab(49.36, -1.72, -41.75)
CIE-LCHlch(49.36, 41.79, 267.64°)
OKLaboklab(56.17% -0.0522 -0.1189)
OKLCHoklch(56.17% 0.13 246.3)
XYZxyz(16.6928, 17.8879, 50.1401)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227ABC #BC6422
analogous
#22BCB1 #227ABC #222DBC
triadic
#227ABC #BC227A #7ABC22
tetradic
#227ABC #B122BC #BC6422 #2DBC22
square
#227ABC #B122BC #BC6422 #2DBC22
split-complementary
#227ABC #BC222D #BCB122
monochromatic
#0F3754 #195888 #227ABC #3F99DC #73B4E6

Accessibility & contrast

On white

4.59
#227ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#227ABC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #227ABC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227ABC#FFFFFF#000000##FFFFFF
##227ABC1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B7DBF
Deuteranopia (green-blind)
#456FBB
Tritanopia (blue-blind)
#008A92
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #227abc;
/* rgb */ color: rgb(34, 122, 188);
/* oklch */ color: oklch(56.2% 0.130 246.3);
Tailwind
colors: {
  custom: {
    50: '#77a0d0',
    500: '#227abc',
    950: '#000000',
  },
}
SCSS
$custom: #227abc;
$custom-light: #77a0d0;
$custom-dark: #000000;
JSON
{
  "hex": "#227abc",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 188
  },
  "hsl": {
    "h": 205.714,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56166,
    "c": 0.12984,
    "h": 246.3
  },
  "luminance": 0.1789
}

Semantic roles & 50–950 ramp

primary
#227ABC
secondary
#CD966D
accent
#873CEC
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0E14
muted
#7C7E82

Preview Lab

Preview with #227ABC

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

Preview Lab → · Contrast checker → · Palette generator →

#227ABC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva