#227497#227497

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

Color values

HEX#227497
RGBrgb(34, 116, 151)
HSLhsl(198, 63%, 36%)
HSVhsv(198, 77%, 59%)
CMYKcmyk(77.5%, 23.2%, 0%, 40.8%)
CIE-LABlab(45.72, -11.85, -25.89)
CIE-LCHlch(45.72, 28.47, 245.41°)
OKLaboklab(52.69% -0.0586 -0.0728)
OKLCHoklch(52.69% 0.094 231.2)
XYZxyz(12.4887, 15.0637, 31.5215)
Luminance0.1507 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227497 #974522
analogous
#229780 #227497 #223A97
triadic
#227497 #972274 #749722
tetradic
#227497 #802297 #974522 #3A9722
square
#227497 #802297 #974522 #3A9722
split-complementary
#227497 #97223A #978022
monochromatic
#0C2733 #174E65 #227497 #2D9AC9 #5AB3DA

Accessibility & contrast

On white

5.23
#227497 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#227497 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227497
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227497#FFFFFF#000000##FFFFFF
##2274971.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627399
Deuteranopia (green-blind)
#536796
Tritanopia (blue-blind)
#007E80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227497;
/* rgb */ color: rgb(34, 116, 151);
/* oklch */ color: oklch(52.7% 0.093 231.2);
Tailwind
colors: {
  custom: {
    50: '#6f9cb5',
    500: '#227497',
    950: '#000000',
  },
}
SCSS
$custom: #227497;
$custom-light: #6f9cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#227497",
  "rgb": {
    "r": 34,
    "g": 116,
    "b": 151
  },
  "hsl": {
    "h": 197.949,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.52691,
    "c": 0.0935,
    "h": 231.2
  },
  "luminance": 0.15065
}

Semantic roles & 50–950 ramp

primary
#227497
secondary
#BE7657
accent
#7342E6
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #227497

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

Preview Lab → · Contrast checker → · Palette generator →

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