#227AA1#227AA1

#227AA1 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.7% C 0.100 H 232.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#227AA1
RGBrgb(34, 122, 161)
HSLhsl(198, 65%, 38%)
HSVhsv(198, 79%, 63%)
CMYKcmyk(78.9%, 24.2%, 0%, 36.9%)
CIE-LABlab(48.05, -11.69, -28.15)
CIE-LCHlch(48.05, 30.48, 247.45°)
OKLaboklab(54.69% -0.0609 -0.0793)
OKLCHoklch(54.69% 0.1 232.5)
XYZxyz(14.0496, 16.8307, 36.2195)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227AA1 #A14922
analogous
#22A188 #227AA1 #223BA1
triadic
#227AA1 #A1227A #7AA122
tetradic
#227AA1 #8822A1 #A14922 #3BA122
square
#227AA1 #8822A1 #A14922 #3BA122
split-complementary
#227AA1 #A1223B #A18822
monochromatic
#0D2D3C #17546E #227AA1 #2DA0D3 #60B7DD

Accessibility & contrast

On white

4.81
#227AA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#227AA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227AA1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227AA1#FFFFFF#000000##FFFFFF
##227AA11.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6779A3
Deuteranopia (green-blind)
#566DA0
Tritanopia (blue-blind)
#008487
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #227aa1;
/* rgb */ color: rgb(34, 122, 161);
/* oklch */ color: oklch(54.7% 0.100 232.5);
Tailwind
colors: {
  custom: {
    50: '#72a0bd',
    500: '#227aa1',
    950: '#000000',
  },
}
SCSS
$custom: #227aa1;
$custom-light: #72a0bd;
$custom-dark: #000000;
JSON
{
  "hex": "#227aa1",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 161
  },
  "hsl": {
    "h": 198.425,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.54694,
    "c": 0.1,
    "h": 232.5
  },
  "luminance": 0.16832
}

Semantic roles & 50–950 ramp

primary
#227AA1
secondary
#C27C5D
accent
#7340E8
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #227AA1

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

Preview Lab → · Contrast checker → · Palette generator →

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