#226781#226781

#226781 is a mid, moderate cyan. Relative luminance 0.116; OKLCH L 48.3% C 0.079 H 227.2°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#226781
RGBrgb(34, 103, 129)
HSLhsl(196, 58%, 32%)
HSVhsv(196, 74%, 51%)
CMYKcmyk(73.6%, 20.2%, 0%, 49.4%)
CIE-LABlab(40.61, -12.22, -20.65)
CIE-LCHlch(40.61, 23.99, 239.39°)
OKLaboklab(48.29% -0.0536 -0.0579)
OKLCHoklch(48.29% 0.079 227.2)
XYZxyz(9.4708, 11.6245, 22.5092)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226781 #813C22
analogous
#22816C #226781 #223881
triadic
#226781 #812267 #678122
tetradic
#226781 #6C2281 #813C22 #388122
square
#226781 #6C2281 #813C22 #388122
split-complementary
#226781 #812238 #816C22
monochromatic
#081A20 #154051 #226781 #2F8EB1 #4DACD0

Accessibility & contrast

On white

6.32
#226781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #226781
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226781#FFFFFF#000000##FFFFFF
##2267811.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596582
Deuteranopia (green-blind)
#4C5C81
Tritanopia (blue-blind)
#006E70
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #226781;
/* rgb */ color: rgb(34, 103, 129);
/* oklch */ color: oklch(48.3% 0.079 227.2);
Tailwind
colors: {
  custom: {
    50: '#6b92a5',
    500: '#226781',
    950: '#000000',
  },
}
SCSS
$custom: #226781;
$custom-light: #6b92a5;
$custom-dark: #000000;
JSON
{
  "hex": "#226781",
  "rgb": {
    "r": 34,
    "g": 103,
    "b": 129
  },
  "hsl": {
    "h": 196.421,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.48292,
    "c": 0.07887,
    "h": 227.2
  },
  "luminance": 0.11626
}

Semantic roles & 50–950 ramp

primary
#226781
secondary
#B3684B
accent
#7146E1
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#070D0F
muted
#7A7D7F

Preview Lab

Preview with #226781

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

Preview Lab → · Contrast checker → · Palette generator →

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