#226798#226798

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

Color values

HEX#226798
RGBrgb(34, 103, 152)
HSLhsl(205, 63%, 36%)
HSVhsv(205, 78%, 60%)
CMYKcmyk(77.6%, 32.2%, 0%, 40.4%)
CIE-LABlab(41.70, -3.75, -32.78)
CIE-LCHlch(41.70, 32.99, 263.47°)
OKLaboklab(49.51% -0.0454 -0.0929)
OKLCHoklch(49.51% 0.103 244)
XYZxyz(11.1752, 12.3063, 31.4860)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226798 #985322
analogous
#22988E #226798 #222C98
triadic
#226798 #982267 #679822
tetradic
#226798 #8E2298 #985322 #2C9822
square
#226798 #8E2298 #985322 #2C9822
split-complementary
#226798 #98222C #988E22
monochromatic
#0C2334 #174566 #226798 #2D89CA #5AA5DA

Accessibility & contrast

On white

6.07
#226798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #226798
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226798#FFFFFF#000000##FFFFFF
##2267981.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50689A
Deuteranopia (green-blind)
#405D97
Tritanopia (blue-blind)
#007378
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #226798;
/* rgb */ color: rgb(34, 103, 152);
/* oklch */ color: oklch(49.5% 0.103 244.0);
Tailwind
colors: {
  custom: {
    50: '#6f92b6',
    500: '#226798',
    950: '#000000',
  },
}
SCSS
$custom: #226798;
$custom-light: #6f92b6;
$custom-dark: #000000;
JSON
{
  "hex": "#226798",
  "rgb": {
    "r": 34,
    "g": 103,
    "b": 152
  },
  "hsl": {
    "h": 204.915,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.49512,
    "c": 0.10344,
    "h": 244
  },
  "luminance": 0.12308
}

Semantic roles & 50–950 ramp

primary
#226798
secondary
#BE8257
accent
#8641E6
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #226798

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

Preview Lab → · Contrast checker → · Palette generator →

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