#226787#226787

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

Color values

HEX#226787
RGBrgb(34, 103, 135)
HSLhsl(199, 60%, 33%)
HSVhsv(199, 75%, 53%)
CMYKcmyk(74.8%, 23.7%, 0%, 47.1%)
CIE-LABlab(40.88, -10.06, -23.86)
CIE-LCHlch(40.88, 25.90, 247.14°)
OKLaboklab(48.59% -0.0513 -0.0671)
OKLCHoklch(48.59% 0.084 232.6)
XYZxyz(9.8814, 11.7887, 24.6716)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226787 #874222
analogous
#228774 #226787 #223487
triadic
#226787 #872267 #678722
tetradic
#226787 #742287 #874222 #348722
square
#226787 #742287 #874222 #348722
split-complementary
#226787 #872234 #877422
monochromatic
#091C25 #164256 #226787 #2E8CB8 #50AAD3

Accessibility & contrast

On white

6.25
#226787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #226787
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226787#FFFFFF#000000##FFFFFF
##2267871.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #226787;
/* rgb */ color: rgb(34, 103, 135);
/* oklch */ color: oklch(48.6% 0.084 232.6);
Tailwind
colors: {
  custom: {
    50: '#6c92aa',
    500: '#226787',
    950: '#000000',
  },
}
SCSS
$custom: #226787;
$custom-light: #6c92aa;
$custom-dark: #000000;
JSON
{
  "hex": "#226787",
  "rgb": {
    "r": 34,
    "g": 103,
    "b": 135
  },
  "hsl": {
    "h": 199.01,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.48591,
    "c": 0.08445,
    "h": 232.6
  },
  "luminance": 0.1179
}

Semantic roles & 50–950 ramp

primary
#226787
secondary
#B76F4E
accent
#7745E3
background
#F6F8FA
surface
#ECF0F4
border
#C7CBCE
text
#080D10
muted
#7A7D7F

Preview Lab

Preview with #226787

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

Preview Lab → · Contrast checker → · Palette generator →

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