#227498#227498

#227498 is a mid, moderate cyan. Relative luminance 0.151; OKLCH L 52.7% C 0.094 H 231.9°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#227498
RGBrgb(34, 116, 152)
HSLhsl(198, 63%, 36%)
HSVhsv(198, 78%, 60%)
CMYKcmyk(77.6%, 23.7%, 0%, 40.4%)
CIE-LABlab(45.77, -11.49, -26.41)
CIE-LCHlch(45.77, 28.80, 246.49°)
OKLaboklab(52.74% -0.0583 -0.0743)
OKLCHoklch(52.74% 0.094 231.9)
XYZxyz(12.5703, 15.0964, 31.9511)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227498 #984622
analogous
#229881 #227498 #223998
triadic
#227498 #982274 #749822
tetradic
#227498 #812298 #984622 #399822
square
#227498 #812298 #984622 #399822
split-complementary
#227498 #982239 #988122
monochromatic
#0C2834 #174E66 #227498 #2D9ACA #5AB3DA

Accessibility & contrast

On white

5.22
#227498 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#227498 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227498
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227498#FFFFFF#000000##FFFFFF
##2274981.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#62739A
Deuteranopia (green-blind)
#526797
Tritanopia (blue-blind)
#007E80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227498;
/* rgb */ color: rgb(34, 116, 152);
/* oklch */ color: oklch(52.7% 0.094 231.9);
Tailwind
colors: {
  custom: {
    50: '#709cb6',
    500: '#227498',
    950: '#000000',
  },
}
SCSS
$custom: #227498;
$custom-light: #709cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#227498",
  "rgb": {
    "r": 34,
    "g": 116,
    "b": 152
  },
  "hsl": {
    "h": 198.305,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.52742,
    "c": 0.09444,
    "h": 231.9
  },
  "luminance": 0.15098
}

Semantic roles & 50–950 ramp

primary
#227498
secondary
#BE7757
accent
#7441E6
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #227498

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

Preview Lab → · Contrast checker → · Palette generator →

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