#227EA1#227EA1

#227EA1 is a mid, moderate cyan. Relative luminance 0.178; OKLCH L 55.7% C 0.098 H 228.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#227EA1
RGBrgb(34, 126, 161)
HSLhsl(197, 65%, 38%)
HSVhsv(197, 79%, 63%)
CMYKcmyk(78.9%, 21.7%, 0%, 36.9%)
CIE-LABlab(49.29, -13.96, -26.22)
CIE-LCHlch(49.29, 29.70, 241.97°)
OKLaboklab(55.69% -0.0648 -0.0737)
OKLCHoklch(55.69% 0.098 228.7)
XYZxyz(14.5509, 17.8332, 36.3866)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227EA1 #A14522
analogous
#22A184 #227EA1 #223FA1
triadic
#227EA1 #A1227E #7EA122
tetradic
#227EA1 #8422A1 #A14522 #3FA122
square
#227EA1 #8422A1 #A14522 #3FA122
split-complementary
#227EA1 #A1223F #A18422
monochromatic
#0D2F3C #17566E #227EA1 #2DA5D3 #60BBDD

Accessibility & contrast

On white

4.60
#227EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#227EA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #227EA1
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227EA1#FFFFFF#000000##FFFFFF
##227EA11.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C7CA3
Deuteranopia (green-blind)
#5B70A1
Tritanopia (blue-blind)
#00888A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #227ea1;
/* rgb */ color: rgb(34, 126, 161);
/* oklch */ color: oklch(55.7% 0.098 228.7);
Tailwind
colors: {
  custom: {
    50: '#72a3bd',
    500: '#227ea1',
    950: '#000000',
  },
}
SCSS
$custom: #227ea1;
$custom-light: #72a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#227ea1",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 161
  },
  "hsl": {
    "h": 196.535,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.5569,
    "c": 0.09815,
    "h": 228.7
  },
  "luminance": 0.17835
}

Semantic roles & 50–950 ramp

primary
#227EA1
secondary
#C2795D
accent
#6E40E8
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #227EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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