#226788#226788

#226788 is a mid, moderate cyan. Relative luminance 0.118; OKLCH L 48.6% C 0.085 H 233.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#226788
RGBrgb(34, 103, 136)
HSLhsl(199, 60%, 33%)
HSVhsv(199, 75%, 53%)
CMYKcmyk(75%, 24.3%, 0%, 46.7%)
CIE-LABlab(40.92, -9.70, -24.40)
CIE-LCHlch(40.92, 26.25, 248.33°)
OKLaboklab(48.64% -0.0509 -0.0686)
OKLCHoklch(48.64% 0.085 233.4)
XYZxyz(9.9521, 11.8170, 25.0442)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226788 #884322
analogous
#228876 #226788 #223488
triadic
#226788 #882267 #678822
tetradic
#226788 #762288 #884322 #348822
square
#226788 #762288 #884322 #348822
split-complementary
#226788 #882234 #887622
monochromatic
#0A1D26 #164257 #226788 #2E8CB9 #51A9D3

Accessibility & contrast

On white

6.24
#226788 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#226788 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226788
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226788#FFFFFF#000000##FFFFFF
##2267881.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57668A
Deuteranopia (green-blind)
#495C87
Tritanopia (blue-blind)
#007072
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #226788;
/* rgb */ color: rgb(34, 103, 136);
/* oklch */ color: oklch(48.6% 0.085 233.4);
Tailwind
colors: {
  custom: {
    50: '#6c92ab',
    500: '#226788',
    950: '#000000',
  },
}
SCSS
$custom: #226788;
$custom-light: #6c92ab;
$custom-dark: #000000;
JSON
{
  "hex": "#226788",
  "rgb": {
    "r": 34,
    "g": 103,
    "b": 136
  },
  "hsl": {
    "h": 199.412,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.48642,
    "c": 0.08544,
    "h": 233.4
  },
  "luminance": 0.11818
}

Semantic roles & 50–950 ramp

primary
#226788
secondary
#B7714F
accent
#7845E3
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080D10
muted
#7A7D7F

Preview Lab

Preview with #226788

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

Preview Lab → · Contrast checker → · Palette generator →

#226788 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva