#227EA3#227EA3

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

Color values

HEX#227EA3
RGBrgb(34, 126, 163)
HSLhsl(197, 65%, 39%)
HSVhsv(197, 79%, 64%)
CMYKcmyk(79.1%, 22.7%, 0%, 36.1%)
CIE-LABlab(49.38, -13.25, -27.25)
CIE-LCHlch(49.38, 30.30, 244.07°)
OKLaboklab(55.79% -0.0641 -0.0766)
OKLCHoklch(55.79% 0.1 230.1)
XYZxyz(14.7287, 17.9043, 37.3228)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227EA3 #A34722
analogous
#22A387 #227EA3 #223EA3
triadic
#227EA3 #A3227E #7EA322
tetradic
#227EA3 #8722A3 #A34722 #3EA322
square
#227EA3 #8722A3 #A34722 #3EA322
split-complementary
#227EA3 #A3223E #A38722
monochromatic
#0D303E #175770 #227EA3 #2FA4D4 #61BADE

Accessibility & contrast

On white

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

On black

4.58
#227EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #227EA3
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227EA3#FFFFFF#000000##000000
##227EA31.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #227ea3;
/* rgb */ color: rgb(34, 126, 163);
/* oklch */ color: oklch(55.8% 0.100 230.1);
Tailwind
colors: {
  custom: {
    50: '#72a3be',
    500: '#227ea3',
    950: '#000000',
  },
}
SCSS
$custom: #227ea3;
$custom-light: #72a3be;
$custom-dark: #000000;
JSON
{
  "hex": "#227ea3",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 163
  },
  "hsl": {
    "h": 197.209,
    "s": 65.482,
    "l": 38.627
  },
  "oklch": {
    "l": 0.55788,
    "c": 0.09991,
    "h": 230.1
  },
  "luminance": 0.17906
}

Semantic roles & 50–950 ramp

primary
#227EA3
secondary
#C37B5E
accent
#703FE8
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #227EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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