#226796#226796

#226796 is a mid, moderate cyan. Relative luminance 0.122; OKLCH L 49.4% C 0.101 H 242.9°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#226796
RGBrgb(34, 103, 150)
HSLhsl(204, 63%, 36%)
HSVhsv(204, 77%, 59%)
CMYKcmyk(77.3%, 31.3%, 0%, 41.2%)
CIE-LABlab(41.60, -4.51, -31.74)
CIE-LCHlch(41.60, 32.06, 261.92°)
OKLaboklab(49.4% -0.046 -0.0899)
OKLCHoklch(49.4% 0.101 242.9)
XYZxyz(11.0128, 12.2413, 30.6306)
Luminance0.1224 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226796 #965122
analogous
#22968B #226796 #222D96
triadic
#226796 #962267 #679622
tetradic
#226796 #8B2296 #965122 #2D9622
square
#226796 #8B2296 #965122 #2D9622
split-complementary
#226796 #96222D #968B22
monochromatic
#0B2232 #174564 #226796 #2D89C8 #59A5D9

Accessibility & contrast

On white

6.09
#226796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#226796 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226796
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226796#FFFFFF#000000##FFFFFF
##2267961.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516898
Deuteranopia (green-blind)
#415D95
Tritanopia (blue-blind)
#007378
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #226796;
/* rgb */ color: rgb(34, 103, 150);
/* oklch */ color: oklch(49.4% 0.101 242.9);
Tailwind
colors: {
  custom: {
    50: '#6f92b5',
    500: '#226796',
    950: '#000000',
  },
}
SCSS
$custom: #226796;
$custom-light: #6f92b5;
$custom-dark: #000000;
JSON
{
  "hex": "#226796",
  "rgb": {
    "r": 34,
    "g": 103,
    "b": 150
  },
  "hsl": {
    "h": 204.31,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.49398,
    "c": 0.10102,
    "h": 242.9
  },
  "luminance": 0.12243
}

Semantic roles & 50–950 ramp

primary
#226796
secondary
#BE8056
accent
#8442E6
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #226796

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

Preview Lab → · Contrast checker → · Palette generator →

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