#226887#226887

#226887 is a mid, moderate cyan. Relative luminance 0.120; OKLCH L 48.8% C 0.084 H 231.5°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#226887
RGBrgb(34, 104, 135)
HSLhsl(198, 60%, 33%)
HSVhsv(198, 75%, 53%)
CMYKcmyk(74.8%, 23%, 0%, 47.1%)
CIE-LABlab(41.20, -10.65, -23.37)
CIE-LCHlch(41.20, 25.68, 245.50°)
OKLaboklab(48.85% -0.0523 -0.0657)
OKLCHoklch(48.85% 0.084 231.5)
XYZxyz(9.9814, 11.9888, 24.7050)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226887 #874122
analogous
#228773 #226887 #223587
triadic
#226887 #872268 #688722
tetradic
#226887 #732287 #874122 #358722
square
#226887 #732287 #874122 #358722
split-complementary
#226887 #872235 #877322
monochromatic
#091D25 #164256 #226887 #2E8EB8 #50ABD3

Accessibility & contrast

On white

6.18
#226887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#226887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226887
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226887#FFFFFF#000000##FFFFFF
##2268871.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586788
Deuteranopia (green-blind)
#4B5D87
Tritanopia (blue-blind)
#007072
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #226887;
/* rgb */ color: rgb(34, 104, 135);
/* oklch */ color: oklch(48.8% 0.084 231.5);
Tailwind
colors: {
  custom: {
    50: '#6c93aa',
    500: '#226887',
    950: '#000000',
  },
}
SCSS
$custom: #226887;
$custom-light: #6c93aa;
$custom-dark: #000000;
JSON
{
  "hex": "#226887",
  "rgb": {
    "r": 34,
    "g": 104,
    "b": 135
  },
  "hsl": {
    "h": 198.416,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.48846,
    "c": 0.08396,
    "h": 231.5
  },
  "luminance": 0.1199
}

Semantic roles & 50–950 ramp

primary
#226887
secondary
#B76E4E
accent
#7545E3
background
#F6F9FA
surface
#ECF1F4
border
#C7CBCE
text
#080D10
muted
#7A7E7F

Preview Lab

Preview with #226887

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

Preview Lab → · Contrast checker → · Palette generator →

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