#226997#226997

#226997 is a mid, moderate cyan. Relative luminance 0.127; OKLCH L 49.9% C 0.101 H 241.7°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#226997
RGBrgb(34, 105, 151)
HSLhsl(204, 63%, 36%)
HSVhsv(204, 77%, 59%)
CMYKcmyk(77.5%, 30.5%, 0%, 40.8%)
CIE-LABlab(42.27, -5.35, -31.28)
CIE-LCHlch(42.27, 31.73, 260.30°)
OKLaboklab(49.95% -0.0477 -0.0886)
OKLCHoklch(49.95% 0.101 241.7)
XYZxyz(11.2950, 12.6763, 31.1236)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226997 #975022
analogous
#22978B #226997 #222F97
triadic
#226997 #972269 #699722
tetradic
#226997 #8B2297 #975022 #2F9722
square
#226997 #8B2297 #975022 #2F9722
split-complementary
#226997 #97222F #978B22
monochromatic
#0C2433 #174665 #226997 #2D8CC9 #5AA7DA

Accessibility & contrast

On white

5.94
#226997 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #226997
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226997#FFFFFF#000000##FFFFFF
##2269971.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546A99
Deuteranopia (green-blind)
#435F96
Tritanopia (blue-blind)
#007479
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #226997;
/* rgb */ color: rgb(34, 105, 151);
/* oklch */ color: oklch(49.9% 0.101 241.7);
Tailwind
colors: {
  custom: {
    50: '#6f93b6',
    500: '#226997',
    950: '#000000',
  },
}
SCSS
$custom: #226997;
$custom-light: #6f93b6;
$custom-dark: #000000;
JSON
{
  "hex": "#226997",
  "rgb": {
    "r": 34,
    "g": 105,
    "b": 151
  },
  "hsl": {
    "h": 203.59,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49948,
    "c": 0.10057,
    "h": 241.7
  },
  "luminance": 0.12678
}

Semantic roles & 50–950 ramp

primary
#226997
secondary
#BE7F57
accent
#8242E6
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#080D11
muted
#7B7E80

Preview Lab

Preview with #226997

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

Preview Lab → · Contrast checker → · Palette generator →

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