#227198#227198

#227198 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 52.0% C 0.096 H 234.9°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#227198
RGBrgb(34, 113, 152)
HSLhsl(200, 63%, 36%)
HSVhsv(200, 78%, 60%)
CMYKcmyk(77.6%, 25.7%, 0%, 40.4%)
CIE-LABlab(44.82, -9.75, -27.88)
CIE-LCHlch(44.82, 29.53, 250.73°)
OKLaboklab(51.99% -0.0553 -0.0786)
OKLCHoklch(51.99% 0.096 234.9)
XYZxyz(12.2300, 14.4159, 31.8376)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227198 #984922
analogous
#229884 #227198 #223698
triadic
#227198 #982271 #719822
tetradic
#227198 #842298 #984922 #369822
square
#227198 #842298 #984922 #369822
split-complementary
#227198 #982236 #988422
monochromatic
#0C2734 #174C66 #227198 #2D96CA #5AB0DA

Accessibility & contrast

On white

5.41
#227198 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #227198
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227198#FFFFFF#000000##FFFFFF
##2271981.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227198;
/* rgb */ color: rgb(34, 113, 152);
/* oklch */ color: oklch(52.0% 0.096 234.9);
Tailwind
colors: {
  custom: {
    50: '#6f99b6',
    500: '#227198',
    950: '#000000',
  },
}
SCSS
$custom: #227198;
$custom-light: #6f99b6;
$custom-dark: #000000;
JSON
{
  "hex": "#227198",
  "rgb": {
    "r": 34,
    "g": 113,
    "b": 152
  },
  "hsl": {
    "h": 199.831,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.51991,
    "c": 0.09608,
    "h": 234.9
  },
  "luminance": 0.14417
}

Semantic roles & 50–950 ramp

primary
#227198
secondary
#BE7957
accent
#7841E6
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #227198

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

Preview Lab → · Contrast checker → · Palette generator →

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