#226897#226897

#226897 is a mid, moderate cyan. Relative luminance 0.125; OKLCH L 49.7% C 0.101 H 242.6°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#226897
RGBrgb(34, 104, 151)
HSLhsl(204, 63%, 36%)
HSVhsv(204, 77%, 59%)
CMYKcmyk(77.5%, 31.1%, 0%, 40.8%)
CIE-LABlab(41.96, -4.74, -31.77)
CIE-LCHlch(41.96, 32.12, 261.51°)
OKLaboklab(49.7% -0.0467 -0.09)
OKLCHoklch(49.7% 0.101 242.6)
XYZxyz(11.1937, 12.4738, 31.0899)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226897 #975122
analogous
#22978C #226897 #222D97
triadic
#226897 #972268 #689722
tetradic
#226897 #8C2297 #975122 #2D9722
square
#226897 #8C2297 #975122 #2D9722
split-complementary
#226897 #97222D #978C22
monochromatic
#0C2333 #174665 #226897 #2D8AC9 #5AA6DA

Accessibility & contrast

On white

6.01
#226897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#226897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226897
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226897#FFFFFF#000000##FFFFFF
##2268971.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526999
Deuteranopia (green-blind)
#425E96
Tritanopia (blue-blind)
#007479
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #226897;
/* rgb */ color: rgb(34, 104, 151);
/* oklch */ color: oklch(49.7% 0.101 242.6);
Tailwind
colors: {
  custom: {
    50: '#6f92b6',
    500: '#226897',
    950: '#000000',
  },
}
SCSS
$custom: #226897;
$custom-light: #6f92b6;
$custom-dark: #000000;
JSON
{
  "hex": "#226897",
  "rgb": {
    "r": 34,
    "g": 104,
    "b": 151
  },
  "hsl": {
    "h": 204.103,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.49701,
    "c": 0.10139,
    "h": 242.6
  },
  "luminance": 0.12475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #226897

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

Preview Lab → · Contrast checker → · Palette generator →

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