#227397#227397

#227397 is a mid, moderate cyan. Relative luminance 0.148; OKLCH L 52.4% C 0.094 H 232.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#227397
RGBrgb(34, 115, 151)
HSLhsl(198, 63%, 36%)
HSVhsv(198, 77%, 59%)
CMYKcmyk(77.5%, 23.8%, 0%, 40.8%)
CIE-LABlab(45.41, -11.27, -26.38)
CIE-LCHlch(45.41, 28.69, 246.86°)
OKLaboklab(52.44% -0.0576 -0.0742)
OKLCHoklch(52.44% 0.094 232.2)
XYZxyz(12.3741, 14.8344, 31.4833)
Luminance0.1484 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227397 #974622
analogous
#229781 #227397 #223997
triadic
#227397 #972273 #739722
tetradic
#227397 #812297 #974622 #399722
square
#227397 #812297 #974622 #399722
split-complementary
#227397 #972239 #978122
monochromatic
#0C2733 #174D65 #227397 #2D99C9 #5AB2DA

Accessibility & contrast

On white

5.29
#227397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#227397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227397
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227397#FFFFFF#000000##FFFFFF
##2273971.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617299
Deuteranopia (green-blind)
#516796
Tritanopia (blue-blind)
#007D7F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227397;
/* rgb */ color: rgb(34, 115, 151);
/* oklch */ color: oklch(52.4% 0.094 232.2);
Tailwind
colors: {
  custom: {
    50: '#6f9bb5',
    500: '#227397',
    950: '#000000',
  },
}
SCSS
$custom: #227397;
$custom-light: #6f9bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#227397",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 151
  },
  "hsl": {
    "h": 198.462,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.5244,
    "c": 0.09399,
    "h": 232.2
  },
  "luminance": 0.14836
}

Semantic roles & 50–950 ramp

primary
#227397
secondary
#BE7757
accent
#7442E6
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #227397

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

Preview Lab → · Contrast checker → · Palette generator →

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