#227EA5#227EA5

#227EA5 is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 55.9% C 0.102 H 231.5°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#227EA5
RGBrgb(34, 126, 165)
HSLhsl(198, 66%, 39%)
HSVhsv(198, 79%, 65%)
CMYKcmyk(79.4%, 23.6%, 0%, 35.3%)
CIE-LABlab(49.47, -12.53, -28.27)
CIE-LCHlch(49.47, 30.93, 246.09°)
OKLaboklab(55.89% -0.0633 -0.0796)
OKLCHoklch(55.89% 0.102 231.5)
XYZxyz(14.9093, 17.9766, 38.2741)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227EA5 #A54922
analogous
#22A58B #227EA5 #223CA5
triadic
#227EA5 #A5227E #7EA522
tetradic
#227EA5 #8B22A5 #A54922 #3CA522
square
#227EA5 #8B22A5 #A54922 #3CA522
split-complementary
#227EA5 #A5223C #A58B22
monochromatic
#0D3140 #185772 #227EA5 #30A3D4 #63BADF

Accessibility & contrast

On white

4.57
#227EA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#227EA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #227EA5
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227EA5#FFFFFF#000000##000000
##227EA51.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A7CA7
Deuteranopia (green-blind)
#5970A4
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #227ea5;
/* rgb */ color: rgb(34, 126, 165);
/* oklch */ color: oklch(55.9% 0.102 231.5);
Tailwind
colors: {
  custom: {
    50: '#73a3c0',
    500: '#227ea5',
    950: '#000000',
  },
}
SCSS
$custom: #227ea5;
$custom-light: #73a3c0;
$custom-dark: #000000;
JSON
{
  "hex": "#227ea5",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 165
  },
  "hsl": {
    "h": 197.863,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.55887,
    "c": 0.10175,
    "h": 231.5
  },
  "luminance": 0.17978
}

Semantic roles & 50–950 ramp

primary
#227EA5
secondary
#C47D5F
accent
#723FE9
background
#F7FAFB
surface
#EEF3F7
border
#C9CDD0
text
#090F12
muted
#7B7F81

Preview Lab

Preview with #227EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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