#227EA4#227EA4

#227EA4 is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 55.8% C 0.101 H 230.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#227EA4
RGBrgb(34, 126, 164)
HSLhsl(198, 66%, 39%)
HSVhsv(198, 79%, 64%)
CMYKcmyk(79.3%, 23.2%, 0%, 35.7%)
CIE-LABlab(49.42, -12.89, -27.76)
CIE-LCHlch(49.42, 30.61, 245.09°)
OKLaboklab(55.84% -0.0637 -0.0781)
OKLCHoklch(55.84% 0.101 230.8)
XYZxyz(14.8187, 17.9403, 37.7966)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227EA4 #A44822
analogous
#22A489 #227EA4 #223DA4
triadic
#227EA4 #A4227E #7EA422
tetradic
#227EA4 #8922A4 #A44822 #3DA422
square
#227EA4 #8922A4 #A44822 #3DA422
split-complementary
#227EA4 #A4223D #A48922
monochromatic
#0D303F #175771 #227EA4 #2FA4D4 #62BADE

Accessibility & contrast

On white

4.58
#227EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#227EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #227EA4
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227EA4#FFFFFF#000000##000000
##227EA41.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7CA6
Deuteranopia (green-blind)
#5970A3
Tritanopia (blue-blind)
#00888B
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #227ea4;
/* rgb */ color: rgb(34, 126, 164);
/* oklch */ color: oklch(55.8% 0.101 230.8);
Tailwind
colors: {
  custom: {
    50: '#72a3bf',
    500: '#227ea4',
    950: '#000000',
  },
}
SCSS
$custom: #227ea4;
$custom-light: #72a3bf;
$custom-dark: #000000;
JSON
{
  "hex": "#227ea4",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 164
  },
  "hsl": {
    "h": 197.538,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.55837,
    "c": 0.10083,
    "h": 230.8
  },
  "luminance": 0.17942
}

Semantic roles & 50–950 ramp

primary
#227EA4
secondary
#C47C5E
accent
#713FE9
background
#F7FAFB
surface
#EDF3F7
border
#C8CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #227EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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