#226C9D#226C9D

#226C9D is a mid, moderate cyan. Relative luminance 0.135; OKLCH L 51.0% C 0.105 H 242.4°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#226C9D
RGBrgb(34, 108, 157)
HSLhsl(204, 64%, 37%)
HSVhsv(204, 78%, 62%)
CMYKcmyk(78.3%, 31.2%, 0%, 38.4%)
CIE-LABlab(43.50, -4.92, -32.90)
CIE-LCHlch(43.50, 33.27, 261.50°)
OKLaboklab(51.02% -0.0486 -0.0932)
OKLCHoklch(51.02% 0.105 242.4)
XYZxyz(12.1057, 13.4981, 33.8591)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226C9D #9D5322
analogous
#229D90 #226C9D #222F9D
triadic
#226C9D #9D226C #6C9D22
tetradic
#226C9D #90229D #9D5322 #2F9D22
square
#226C9D #90229D #9D5322 #2F9D22
split-complementary
#226C9D #9D222F #9D9022
monochromatic
#0C2738 #17496B #226C9D #2D8FCF #5DAADC

Accessibility & contrast

On white

5.68
#226C9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#226C9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226C9D
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226C9D#FFFFFF#000000##FFFFFF
##226C9D1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556D9F
Deuteranopia (green-blind)
#44629C
Tritanopia (blue-blind)
#00787D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #226c9d;
/* rgb */ color: rgb(34, 108, 157);
/* oklch */ color: oklch(51.0% 0.105 242.4);
Tailwind
colors: {
  custom: {
    50: '#7095ba',
    500: '#226c9d',
    950: '#000000',
  },
}
SCSS
$custom: #226c9d;
$custom-light: #7095ba;
$custom-dark: #000000;
JSON
{
  "hex": "#226c9d",
  "rgb": {
    "r": 34,
    "g": 108,
    "b": 157
  },
  "hsl": {
    "h": 203.902,
    "s": 64.398,
    "l": 37.451
  },
  "oklch": {
    "l": 0.51023,
    "c": 0.10518,
    "h": 242.4
  },
  "luminance": 0.135
}

Semantic roles & 50–950 ramp

primary
#226C9D
secondary
#C1835A
accent
#8340E7
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #226C9D

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

Preview Lab → · Contrast checker → · Palette generator →

#226C9D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva