#227AA5#227AA5

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

Color values

HEX#227AA5
RGBrgb(34, 122, 165)
HSLhsl(200, 66%, 39%)
HSVhsv(200, 79%, 65%)
CMYKcmyk(79.4%, 26.1%, 0%, 35.3%)
CIE-LABlab(48.23, -10.24, -30.21)
CIE-LCHlch(48.23, 31.90, 251.27°)
OKLaboklab(54.9% -0.0595 -0.0853)
OKLCHoklch(54.9% 0.104 235.1)
XYZxyz(14.4080, 16.9740, 38.1070)
Luminance0.1698 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227AA5 #A54D22
analogous
#22A58F #227AA5 #2238A5
triadic
#227AA5 #A5227A #7AA522
tetradic
#227AA5 #8F22A5 #A54D22 #38A522
square
#227AA5 #8F22A5 #A54D22 #38A522
split-complementary
#227AA5 #A52238 #A58F22
monochromatic
#0D2F40 #185472 #227AA5 #309ED4 #63B6DF

Accessibility & contrast

On white

4.78
#227AA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#227AA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227AA5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227AA5#FFFFFF#000000##FFFFFF
##227AA51.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6579A7
Deuteranopia (green-blind)
#546DA4
Tritanopia (blue-blind)
#008589
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #227aa5;
/* rgb */ color: rgb(34, 122, 165);
/* oklch */ color: oklch(54.9% 0.104 235.1);
Tailwind
colors: {
  custom: {
    50: '#72a0c0',
    500: '#227aa5',
    950: '#000000',
  },
}
SCSS
$custom: #227aa5;
$custom-light: #72a0c0;
$custom-dark: #000000;
JSON
{
  "hex": "#227aa5",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 165
  },
  "hsl": {
    "h": 199.695,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.54898,
    "c": 0.10395,
    "h": 235.1
  },
  "luminance": 0.16976
}

Semantic roles & 50–950 ramp

primary
#227AA5
secondary
#C4805F
accent
#773FE9
background
#F7F9FB
surface
#EDF2F7
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #227AA5

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

Preview Lab → · Contrast checker → · Palette generator →

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