#227BA7#227BA7

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

Color values

HEX#227BA7
RGBrgb(34, 123, 167)
HSLhsl(200, 66%, 39%)
HSVhsv(200, 80%, 65%)
CMYKcmyk(79.6%, 26.3%, 0%, 34.5%)
CIE-LABlab(48.63, -10.09, -30.75)
CIE-LCHlch(48.63, 32.36, 251.83°)
OKLaboklab(55.25% -0.0597 -0.0868)
OKLCHoklch(55.25% 0.105 235.5)
XYZxyz(14.7149, 17.2942, 39.1143)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227BA7 #A74E22
analogous
#22A791 #227BA7 #2238A7
triadic
#227BA7 #A7227B #7BA722
tetradic
#227BA7 #9122A7 #A74E22 #38A722
square
#227BA7 #9122A7 #A74E22 #38A722
split-complementary
#227BA7 #A72238 #A79122
monochromatic
#0D3041 #185674 #227BA7 #319FD5 #64B7DF

Accessibility & contrast

On white

4.71
#227BA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#227BA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227BA7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227BA7#FFFFFF#000000##FFFFFF
##227BA71.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227ba7;
/* rgb */ color: rgb(34, 123, 167);
/* oklch */ color: oklch(55.2% 0.105 235.5);
Tailwind
colors: {
  custom: {
    50: '#73a1c1',
    500: '#227ba7',
    950: '#000000',
  },
}
SCSS
$custom: #227ba7;
$custom-light: #73a1c1;
$custom-dark: #000000;
JSON
{
  "hex": "#227ba7",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 167
  },
  "hsl": {
    "h": 199.85,
    "s": 66.169,
    "l": 39.412
  },
  "oklch": {
    "l": 0.55248,
    "c": 0.10537,
    "h": 235.5
  },
  "luminance": 0.17296
}

Semantic roles & 50–950 ramp

primary
#227BA7
secondary
#C58160
accent
#773FE9
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #227BA7

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

Preview Lab → · Contrast checker → · Palette generator →

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