#226797#226797

#226797 is a mid, moderate cyan. Relative luminance 0.123; OKLCH L 49.5% C 0.102 H 243.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#226797
RGBrgb(34, 103, 151)
HSLhsl(205, 63%, 36%)
HSVhsv(205, 77%, 59%)
CMYKcmyk(77.5%, 31.8%, 0%, 40.8%)
CIE-LABlab(41.65, -4.13, -32.26)
CIE-LCHlch(41.65, 32.52, 262.71°)
OKLaboklab(49.46% -0.0457 -0.0914)
OKLCHoklch(49.46% 0.102 243.4)
XYZxyz(11.0937, 12.2736, 31.0565)
Luminance0.1227 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226797 #975222
analogous
#22978D #226797 #222D97
triadic
#226797 #972267 #679722
tetradic
#226797 #8D2297 #975222 #2D9722
square
#226797 #8D2297 #975222 #2D9722
split-complementary
#226797 #97222D #978D22
monochromatic
#0C2333 #174565 #226797 #2D89C9 #5AA5DA

Accessibility & contrast

On white

6.08
#226797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#226797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226797
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226797#FFFFFF#000000##FFFFFF
##2267971.006.083.466.08
#FFFFFF6.081.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516899
Deuteranopia (green-blind)
#405D96
Tritanopia (blue-blind)
#007378
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #226797;
/* rgb */ color: rgb(34, 103, 151);
/* oklch */ color: oklch(49.5% 0.102 243.4);
Tailwind
colors: {
  custom: {
    50: '#6f92b6',
    500: '#226797',
    950: '#000000',
  },
}
SCSS
$custom: #226797;
$custom-light: #6f92b6;
$custom-dark: #000000;
JSON
{
  "hex": "#226797",
  "rgb": {
    "r": 34,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 204.615,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49455,
    "c": 0.10222,
    "h": 243.4
  },
  "luminance": 0.12275
}

Semantic roles & 50–950 ramp

primary
#226797
secondary
#BE8157
accent
#8542E6
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #226797

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

Preview Lab → · Contrast checker → · Palette generator →

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