#226782#226782

#226782 is a mid, moderate cyan. Relative luminance 0.117; OKLCH L 48.3% C 0.080 H 228.2°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#226782
RGBrgb(34, 103, 130)
HSLhsl(197, 59%, 32%)
HSVhsv(197, 74%, 51%)
CMYKcmyk(73.8%, 20.8%, 0%, 49%)
CIE-LABlab(40.66, -11.86, -21.19)
CIE-LCHlch(40.66, 24.28, 240.76°)
OKLaboklab(48.34% -0.0532 -0.0594)
OKLCHoklch(48.34% 0.08 228.2)
XYZxyz(9.5376, 11.6512, 22.8610)
Luminance0.1165 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226782 #823D22
analogous
#22826D #226782 #223782
triadic
#226782 #822267 #678222
tetradic
#226782 #6D2282 #823D22 #378222
square
#226782 #6D2282 #823D22 #378222
split-complementary
#226782 #822237 #826D22
monochromatic
#091A21 #154151 #226782 #2F8DB3 #4EACD1

Accessibility & contrast

On white

6.31
#226782 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#226782 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226782
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226782#FFFFFF#000000##FFFFFF
##2267821.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596583
Deuteranopia (green-blind)
#4C5C82
Tritanopia (blue-blind)
#006F70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #226782;
/* rgb */ color: rgb(34, 103, 130);
/* oklch */ color: oklch(48.3% 0.080 228.2);
Tailwind
colors: {
  custom: {
    50: '#6b92a6',
    500: '#226782',
    950: '#000000',
  },
}
SCSS
$custom: #226782;
$custom-light: #6b92a6;
$custom-dark: #000000;
JSON
{
  "hex": "#226782",
  "rgb": {
    "r": 34,
    "g": 103,
    "b": 130
  },
  "hsl": {
    "h": 196.875,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.48341,
    "c": 0.07974,
    "h": 228.2
  },
  "luminance": 0.11652
}

Semantic roles & 50–950 ramp

primary
#226782
secondary
#B4694C
accent
#7246E2
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070D0F
muted
#7A7D7F

Preview Lab

Preview with #226782

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

Preview Lab → · Contrast checker → · Palette generator →

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