#227BA8#227BA8

#227BA8 is a mid, moderate cyan. Relative luminance 0.173; OKLCH L 55.3% C 0.106 H 236.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#227BA8
RGBrgb(34, 123, 168)
HSLhsl(200, 66%, 40%)
HSVhsv(200, 80%, 66%)
CMYKcmyk(79.8%, 26.8%, 0%, 34.1%)
CIE-LABlab(48.67, -9.73, -31.26)
CIE-LCHlch(48.67, 32.73, 252.71°)
OKLaboklab(55.3% -0.0594 -0.0883)
OKLCHoklch(55.3% 0.106 236.1)
XYZxyz(14.8077, 17.3313, 39.6030)
Luminance0.1733 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227BA8 #A84F22
analogous
#22A892 #227BA8 #2238A8
triadic
#227BA8 #A8227B #7BA822
tetradic
#227BA8 #9222A8 #A84F22 #38A822
square
#227BA8 #9222A8 #A84F22 #38A822
split-complementary
#227BA8 #A82238 #A89222
monochromatic
#0D3042 #185675 #227BA8 #329ED5 #65B6E0

Accessibility & contrast

On white

4.70
#227BA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#227BA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227BA8
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227BA8#FFFFFF#000000##FFFFFF
##227BA81.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657BAA
Deuteranopia (green-blind)
#536EA7
Tritanopia (blue-blind)
#00878A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #227ba8;
/* rgb */ color: rgb(34, 123, 168);
/* oklch */ color: oklch(55.3% 0.106 236.1);
Tailwind
colors: {
  custom: {
    50: '#73a1c2',
    500: '#227ba8',
    950: '#000000',
  },
}
SCSS
$custom: #227ba8;
$custom-light: #73a1c2;
$custom-dark: #000000;
JSON
{
  "hex": "#227ba8",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 168
  },
  "hsl": {
    "h": 200.149,
    "s": 66.337,
    "l": 39.608
  },
  "oklch": {
    "l": 0.553,
    "c": 0.1064,
    "h": 236.1
  },
  "luminance": 0.17333
}

Semantic roles & 50–950 ramp

primary
#227BA8
secondary
#C58261
accent
#783FE9
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #227BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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