#227297#227297

#227297 is a mid, moderate cyan. Relative luminance 0.146; OKLCH L 52.2% C 0.095 H 233.2°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#227297
RGBrgb(34, 114, 151)
HSLhsl(199, 63%, 36%)
HSVhsv(199, 77%, 59%)
CMYKcmyk(77.5%, 24.5%, 0%, 40.8%)
CIE-LABlab(45.09, -10.69, -26.87)
CIE-LCHlch(45.09, 28.92, 248.30°)
OKLaboklab(52.19% -0.0566 -0.0757)
OKLCHoklch(52.19% 0.095 233.2)
XYZxyz(12.2607, 14.6076, 31.4455)
Luminance0.1461 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227297 #974722
analogous
#229782 #227297 #223897
triadic
#227297 #972272 #729722
tetradic
#227297 #822297 #974722 #389722
square
#227297 #822297 #974722 #389722
split-complementary
#227297 #972238 #978222
monochromatic
#0C2733 #174C65 #227297 #2D98C9 #5AB1DA

Accessibility & contrast

On white

5.35
#227297 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#227297 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227297
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227297#FFFFFF#000000##FFFFFF
##2272971.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#607199
Deuteranopia (green-blind)
#506696
Tritanopia (blue-blind)
#007C7F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227297;
/* rgb */ color: rgb(34, 114, 151);
/* oklch */ color: oklch(52.2% 0.095 233.2);
Tailwind
colors: {
  custom: {
    50: '#6f9ab5',
    500: '#227297',
    950: '#000000',
  },
}
SCSS
$custom: #227297;
$custom-light: #6f9ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#227297",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 151
  },
  "hsl": {
    "h": 198.974,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.52189,
    "c": 0.09451,
    "h": 233.2
  },
  "luminance": 0.14609
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #227297

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

Preview Lab → · Contrast checker → · Palette generator →

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