#227BA0#227BA0

#227BA0 is a mid, moderate cyan. Relative luminance 0.170; OKLCH L 54.9% C 0.099 H 230.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#227BA0
RGBrgb(34, 123, 160)
HSLhsl(198, 65%, 38%)
HSVhsv(198, 79%, 63%)
CMYKcmyk(78.8%, 23.1%, 0%, 37.3%)
CIE-LABlab(48.31, -12.62, -27.15)
CIE-LCHlch(48.31, 29.94, 245.07°)
OKLaboklab(54.89% -0.0623 -0.0764)
OKLCHoklch(54.89% 0.099 230.8)
XYZxyz(14.0852, 17.0424, 35.7980)
Luminance0.1704 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227BA0 #A04722
analogous
#22A086 #227BA0 #223CA0
triadic
#227BA0 #A0227B #7BA022
tetradic
#227BA0 #8622A0 #A04722 #3CA022
square
#227BA0 #8622A0 #A04722 #3CA022
split-complementary
#227BA0 #A0223C #A08622
monochromatic
#0D2D3B #17546E #227BA0 #2DA2D2 #5FB8DD

Accessibility & contrast

On white

4.76
#227BA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#227BA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227BA0
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227BA0#FFFFFF#000000##FFFFFF
##227BA01.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6879A2
Deuteranopia (green-blind)
#576D9F
Tritanopia (blue-blind)
#008587
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #227ba0;
/* rgb */ color: rgb(34, 123, 160);
/* oklch */ color: oklch(54.9% 0.099 230.8);
Tailwind
colors: {
  custom: {
    50: '#71a1bc',
    500: '#227ba0',
    950: '#000000',
  },
}
SCSS
$custom: #227ba0;
$custom-light: #71a1bc;
$custom-dark: #000000;
JSON
{
  "hex": "#227ba0",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 160
  },
  "hsl": {
    "h": 197.619,
    "s": 64.948,
    "l": 38.039
  },
  "oklch": {
    "l": 0.54892,
    "c": 0.09856,
    "h": 230.8
  },
  "luminance": 0.17044
}

Semantic roles & 50–950 ramp

primary
#227BA0
secondary
#C27A5C
accent
#7140E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #227BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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