#226987#226987

#226987 is a mid, moderate cyan. Relative luminance 0.122; OKLCH L 49.1% C 0.084 H 230.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#226987
RGBrgb(34, 105, 135)
HSLhsl(198, 60%, 33%)
HSVhsv(198, 75%, 53%)
CMYKcmyk(74.8%, 22.2%, 0%, 47.1%)
CIE-LABlab(41.52, -11.23, -22.87)
CIE-LCHlch(41.52, 25.48, 243.84°)
OKLaboklab(49.1% -0.0534 -0.0642)
OKLCHoklch(49.1% 0.084 230.3)
XYZxyz(10.0827, 12.1913, 24.7387)
Luminance0.1219 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226987 #874022
analogous
#228772 #226987 #223687
triadic
#226987 #872269 #698722
tetradic
#226987 #722287 #874022 #368722
square
#226987 #722287 #874022 #368722
split-complementary
#226987 #872236 #877222
monochromatic
#091D25 #164356 #226987 #2E8FB8 #50ACD3

Accessibility & contrast

On white

6.11
#226987 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#226987 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226987
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226987#FFFFFF#000000##FFFFFF
##2269871.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6788
Deuteranopia (green-blind)
#4C5E87
Tritanopia (blue-blind)
#007173
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #226987;
/* rgb */ color: rgb(34, 105, 135);
/* oklch */ color: oklch(49.1% 0.084 230.3);
Tailwind
colors: {
  custom: {
    50: '#6c93aa',
    500: '#226987',
    950: '#000000',
  },
}
SCSS
$custom: #226987;
$custom-light: #6c93aa;
$custom-dark: #000000;
JSON
{
  "hex": "#226987",
  "rgb": {
    "r": 34,
    "g": 105,
    "b": 135
  },
  "hsl": {
    "h": 197.822,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.49102,
    "c": 0.08351,
    "h": 230.3
  },
  "luminance": 0.12193
}

Semantic roles & 50–950 ramp

primary
#226987
secondary
#B76D4E
accent
#7445E3
background
#F6F9FA
surface
#ECF1F4
border
#C7CBCE
text
#080D10
muted
#7A7E7F

Preview Lab

Preview with #226987

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

Preview Lab → · Contrast checker → · Palette generator →

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