#226C8A#226C8A

#226C8A is a mid, moderate cyan. Relative luminance 0.129; OKLCH L 50.0% C 0.085 H 229.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#226C8A
RGBrgb(34, 108, 138)
HSLhsl(197, 60%, 34%)
HSVhsv(197, 75%, 54%)
CMYKcmyk(75.4%, 21.7%, 0%, 45.9%)
CIE-LABlab(42.61, -11.90, -22.98)
CIE-LCHlch(42.61, 25.88, 242.62°)
OKLaboklab(50.02% -0.0554 -0.0645)
OKLCHoklch(50.02% 0.085 229.4)
XYZxyz(10.6078, 12.8989, 25.9705)
Luminance0.1290 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226C8A #8A4022
analogous
#228A74 #226C8A #22388A
triadic
#226C8A #8A226C #6C8A22
tetradic
#226C8A #74228A #8A4022 #388A22
square
#226C8A #74228A #8A4022 #388A22
split-complementary
#226C8A #8A2238 #8A7422
monochromatic
#0A1F28 #164659 #226C8A #2E92BB #52AFD4

Accessibility & contrast

On white

5.87
#226C8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#226C8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226C8A
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226C8A#FFFFFF#000000##FFFFFF
##226C8A1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6A8B
Deuteranopia (green-blind)
#4E608A
Tritanopia (blue-blind)
#007476
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #226c8a;
/* rgb */ color: rgb(34, 108, 138);
/* oklch */ color: oklch(50.0% 0.085 229.4);
Tailwind
colors: {
  custom: {
    50: '#6d96ac',
    500: '#226c8a',
    950: '#000000',
  },
}
SCSS
$custom: #226c8a;
$custom-light: #6d96ac;
$custom-dark: #000000;
JSON
{
  "hex": "#226c8a",
  "rgb": {
    "r": 34,
    "g": 108,
    "b": 138
  },
  "hsl": {
    "h": 197.308,
    "s": 60.465,
    "l": 33.725
  },
  "oklch": {
    "l": 0.50018,
    "c": 0.08502,
    "h": 229.4
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#226C8A
secondary
#B86E50
accent
#7244E4
background
#F7F9FA
surface
#EDF1F4
border
#C8CBCE
text
#080D10
muted
#7B7E7F

Preview Lab

Preview with #226C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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