#227FA8#227FA8

#227FA8 is a mid, moderate cyan. Relative luminance 0.183; OKLCH L 56.3% C 0.104 H 232.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#227FA8
RGBrgb(34, 127, 168)
HSLhsl(198, 66%, 40%)
HSVhsv(198, 80%, 66%)
CMYKcmyk(79.8%, 24.4%, 0%, 34.1%)
CIE-LABlab(49.91, -12.02, -29.33)
CIE-LCHlch(49.91, 31.70, 247.71°)
OKLaboklab(56.29% -0.0632 -0.0826)
OKLCHoklch(56.29% 0.104 232.6)
XYZxyz(15.3141, 18.3441, 39.7718)
Luminance0.1835 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227FA8 #A84B22
analogous
#22A88E #227FA8 #223CA8
triadic
#227FA8 #A8227F #7FA822
tetradic
#227FA8 #8E22A8 #A84B22 #3CA822
square
#227FA8 #8E22A8 #A84B22 #3CA822
split-complementary
#227FA8 #A8223C #A88E22
monochromatic
#0D3242 #185975 #227FA8 #32A3D5 #65BAE0

Accessibility & contrast

On white

4.50
#227FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#227FA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #227FA8
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227FA8#FFFFFF#000000##000000
##227FA81.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7EAA
Deuteranopia (green-blind)
#5971A7
Tritanopia (blue-blind)
#008A8D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #227fa8;
/* rgb */ color: rgb(34, 127, 168);
/* oklch */ color: oklch(56.3% 0.104 232.6);
Tailwind
colors: {
  custom: {
    50: '#73a4c2',
    500: '#227fa8',
    950: '#000000',
  },
}
SCSS
$custom: #227fa8;
$custom-light: #73a4c2;
$custom-dark: #000000;
JSON
{
  "hex": "#227fa8",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 168
  },
  "hsl": {
    "h": 198.358,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.56285,
    "c": 0.10406,
    "h": 232.6
  },
  "luminance": 0.18346
}

Semantic roles & 50–950 ramp

primary
#227FA8
secondary
#C57F61
accent
#733FE9
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #227FA8

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

Preview Lab → · Contrast checker → · Palette generator →

#227FA8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva