#227E98#227E98

#227E98 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.3% C 0.091 H 221.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#227E98
RGBrgb(34, 126, 152)
HSLhsl(193, 63%, 36%)
HSVhsv(193, 78%, 60%)
CMYKcmyk(77.6%, 17.1%, 0%, 40.4%)
CIE-LABlab(48.92, -17.11, -21.54)
CIE-LCHlch(48.92, 27.51, 231.53°)
OKLaboklab(55.27% -0.0684 -0.0603)
OKLCHoklch(55.27% 0.091 221.4)
XYZxyz(13.7857, 17.5271, 32.3562)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E98 #983C22
analogous
#229877 #227E98 #224398
triadic
#227E98 #98227E #7E9822
tetradic
#227E98 #772298 #983C22 #439822
square
#227E98 #772298 #983C22 #439822
split-complementary
#227E98 #982243 #987722
monochromatic
#0C2B34 #175566 #227E98 #2DA7CA #5ABEDA

Accessibility & contrast

On white

4.66
#227E98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#227E98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #227E98
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E98#FFFFFF#000000##FFFFFF
##227E981.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F7B99
Deuteranopia (green-blind)
#5F6F98
Tritanopia (blue-blind)
#008686
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #227e98;
/* rgb */ color: rgb(34, 126, 152);
/* oklch */ color: oklch(55.3% 0.091 221.4);
Tailwind
colors: {
  custom: {
    50: '#70a3b6',
    500: '#227e98',
    950: '#000000',
  },
}
SCSS
$custom: #227e98;
$custom-light: #70a3b6;
$custom-dark: #000000;
JSON
{
  "hex": "#227e98",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 152
  },
  "hsl": {
    "h": 193.22,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.55265,
    "c": 0.09113,
    "h": 221.4
  },
  "luminance": 0.17529
}

Semantic roles & 50–950 ramp

primary
#227E98
secondary
#BE6E57
accent
#6641E6
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #227E98

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

Preview Lab → · Contrast checker → · Palette generator →

#227E98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva