#227197#227197

#227197 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 51.9% C 0.095 H 234.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#227197
RGBrgb(34, 113, 151)
HSLhsl(199, 63%, 36%)
HSVhsv(199, 77%, 59%)
CMYKcmyk(77.5%, 25.2%, 0%, 40.8%)
CIE-LABlab(44.78, -10.11, -27.36)
CIE-LCHlch(44.78, 29.17, 249.72°)
OKLaboklab(51.94% -0.0556 -0.0771)
OKLCHoklch(51.94% 0.095 234.2)
XYZxyz(12.1485, 14.3833, 31.4081)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227197 #974822
analogous
#229783 #227197 #223797
triadic
#227197 #972271 #719722
tetradic
#227197 #832297 #974822 #379722
square
#227197 #832297 #974822 #379722
split-complementary
#227197 #972237 #978322
monochromatic
#0C2633 #174C65 #227197 #2D96C9 #5AB0DA

Accessibility & contrast

On white

5.42
#227197 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#227197 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227197
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227197#FFFFFF#000000##FFFFFF
##2271971.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E7099
Deuteranopia (green-blind)
#4F6596
Tritanopia (blue-blind)
#007B7E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227197;
/* rgb */ color: rgb(34, 113, 151);
/* oklch */ color: oklch(51.9% 0.095 234.2);
Tailwind
colors: {
  custom: {
    50: '#6f99b5',
    500: '#227197',
    950: '#000000',
  },
}
SCSS
$custom: #227197;
$custom-light: #6f99b5;
$custom-dark: #000000;
JSON
{
  "hex": "#227197",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 151
  },
  "hsl": {
    "h": 199.487,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.51939,
    "c": 0.09507,
    "h": 234.2
  },
  "luminance": 0.14385
}

Semantic roles & 50–950 ramp

primary
#227197
secondary
#BE7857
accent
#7742E6
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #227197

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

Preview Lab → · Contrast checker → · Palette generator →

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