#227BA6#227BA6

#227BA6 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.2% C 0.104 H 234.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#227BA6
RGBrgb(34, 123, 166)
HSLhsl(200, 66%, 39%)
HSVhsv(200, 80%, 65%)
CMYKcmyk(79.5%, 25.9%, 0%, 34.9%)
CIE-LABlab(48.58, -10.46, -30.23)
CIE-LCHlch(48.58, 31.99, 250.92°)
OKLaboklab(55.2% -0.0601 -0.0853)
OKLCHoklch(55.2% 0.104 234.8)
XYZxyz(14.6228, 17.2574, 38.6293)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227BA6 #A64D22
analogous
#22A68F #227BA6 #2239A6
triadic
#227BA6 #A6227B #7BA622
tetradic
#227BA6 #8F22A6 #A64D22 #39A622
square
#227BA6 #8F22A6 #A64D22 #39A622
split-complementary
#227BA6 #A62239 #A68F22
monochromatic
#0D3040 #185573 #227BA6 #309FD5 #63B7DF

Accessibility & contrast

On white

4.72
#227BA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#227BA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227BA6
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227BA6#FFFFFF#000000##FFFFFF
##227BA61.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#667AA8
Deuteranopia (green-blind)
#546EA5
Tritanopia (blue-blind)
#00868A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #227ba6;
/* rgb */ color: rgb(34, 123, 166);
/* oklch */ color: oklch(55.2% 0.104 234.8);
Tailwind
colors: {
  custom: {
    50: '#73a1c0',
    500: '#227ba6',
    950: '#000000',
  },
}
SCSS
$custom: #227ba6;
$custom-light: #73a1c0;
$custom-dark: #000000;
JSON
{
  "hex": "#227ba6",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 166
  },
  "hsl": {
    "h": 199.545,
    "s": 66,
    "l": 39.216
  },
  "oklch": {
    "l": 0.55196,
    "c": 0.10436,
    "h": 234.8
  },
  "luminance": 0.17259
}

Semantic roles & 50–950 ramp

primary
#227BA6
secondary
#C4805F
accent
#763FE9
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #227BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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