#227298#227298

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

Color values

HEX#227298
RGBrgb(34, 114, 152)
HSLhsl(199, 63%, 36%)
HSVhsv(199, 78%, 60%)
CMYKcmyk(77.6%, 25%, 0%, 40.4%)
CIE-LABlab(45.14, -10.33, -27.39)
CIE-LCHlch(45.14, 29.27, 249.34°)
OKLaboklab(52.24% -0.0563 -0.0772)
OKLCHoklch(52.24% 0.096 233.9)
XYZxyz(12.3422, 14.6402, 31.8750)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227298 #984822
analogous
#229883 #227298 #223798
triadic
#227298 #982272 #729822
tetradic
#227298 #832298 #984822 #379822
square
#227298 #832298 #984822 #379822
split-complementary
#227298 #982237 #988322
monochromatic
#0C2734 #174C66 #227298 #2D98CA #5AB1DA

Accessibility & contrast

On white

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

On black

3.93
#227298 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##227298#FFFFFF#000000##FFFFFF
##2272981.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F719A
Deuteranopia (green-blind)
#4F6697
Tritanopia (blue-blind)
#007C7F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #227298;
/* rgb */ color: rgb(34, 114, 152);
/* oklch */ color: oklch(52.2% 0.096 233.9);
Tailwind
colors: {
  custom: {
    50: '#6f9ab6',
    500: '#227298',
    950: '#000000',
  },
}
SCSS
$custom: #227298;
$custom-light: #6f9ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#227298",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 152
  },
  "hsl": {
    "h": 199.322,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.52241,
    "c": 0.09551,
    "h": 233.9
  },
  "luminance": 0.14642
}

Semantic roles & 50–950 ramp

primary
#227298
secondary
#BE7957
accent
#7741E6
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #227298

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

Preview Lab → · Contrast checker → · Palette generator →

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