#226998#226998

#226998 is a mid, moderate cyan. Relative luminance 0.127; OKLCH L 50.0% C 0.102 H 242.3°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#226998
RGBrgb(34, 105, 152)
HSLhsl(204, 63%, 36%)
HSVhsv(204, 78%, 60%)
CMYKcmyk(77.6%, 30.9%, 0%, 40.4%)
CIE-LABlab(42.32, -4.97, -31.80)
CIE-LCHlch(42.32, 32.18, 261.11°)
OKLaboklab(50% -0.0473 -0.0901)
OKLCHoklch(50% 0.102 242.3)
XYZxyz(11.3765, 12.7089, 31.5531)
Luminance0.1271 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226998 #985122
analogous
#22988C #226998 #222E98
triadic
#226998 #982269 #699822
tetradic
#226998 #8C2298 #985122 #2E9822
square
#226998 #8C2298 #985122 #2E9822
split-complementary
#226998 #98222E #988C22
monochromatic
#0C2434 #174666 #226998 #2D8CCA #5AA7DA

Accessibility & contrast

On white

5.93
#226998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#226998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226998
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226998#FFFFFF#000000##FFFFFF
##2269981.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536A9A
Deuteranopia (green-blind)
#435F97
Tritanopia (blue-blind)
#00757A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #226998;
/* rgb */ color: rgb(34, 105, 152);
/* oklch */ color: oklch(50.0% 0.102 242.3);
Tailwind
colors: {
  custom: {
    50: '#6f93b6',
    500: '#226998',
    950: '#000000',
  },
}
SCSS
$custom: #226998;
$custom-light: #6f93b6;
$custom-dark: #000000;
JSON
{
  "hex": "#226998",
  "rgb": {
    "r": 34,
    "g": 105,
    "b": 152
  },
  "hsl": {
    "h": 203.898,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.50004,
    "c": 0.10174,
    "h": 242.3
  },
  "luminance": 0.1271
}

Semantic roles & 50–950 ramp

primary
#226998
secondary
#BE8057
accent
#8341E6
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#080D11
muted
#7B7E80

Preview Lab

Preview with #226998

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

Preview Lab → · Contrast checker → · Palette generator →

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