#227E9A#227E9A

#227E9A is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.4% C 0.093 H 223.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#227E9A
RGBrgb(34, 126, 154)
HSLhsl(194, 64%, 37%)
HSVhsv(194, 78%, 60%)
CMYKcmyk(77.9%, 18.2%, 0%, 39.6%)
CIE-LABlab(49.00, -16.42, -22.58)
CIE-LCHlch(49.00, 27.92, 233.98°)
OKLaboklab(55.36% -0.0676 -0.0633)
OKLCHoklch(55.36% 0.093 223.1)
XYZxyz(13.9508, 17.5932, 33.2261)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227E9A #9A3E22
analogous
#229A7A #227E9A #22429A
triadic
#227E9A #9A227E #7E9A22
tetradic
#227E9A #7A229A #9A3E22 #429A22
square
#227E9A #7A229A #9A3E22 #429A22
split-complementary
#227E9A #9A2242 #9A7A22
monochromatic
#0C2C36 #175568 #227E9A #2DA7CC #5BBDDB

Accessibility & contrast

On white

4.65
#227E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#227E9A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #227E9A
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227E9A#FFFFFF#000000##FFFFFF
##227E9A1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E7B9B
Deuteranopia (green-blind)
#5E6F9A
Tritanopia (blue-blind)
#008787
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #227e9a;
/* rgb */ color: rgb(34, 126, 154);
/* oklch */ color: oklch(55.4% 0.093 223.1);
Tailwind
colors: {
  custom: {
    50: '#71a3b7',
    500: '#227e9a',
    950: '#000000',
  },
}
SCSS
$custom: #227e9a;
$custom-light: #71a3b7;
$custom-dark: #000000;
JSON
{
  "hex": "#227e9a",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 154
  },
  "hsl": {
    "h": 194,
    "s": 63.83,
    "l": 36.863
  },
  "oklch": {
    "l": 0.55357,
    "c": 0.09255,
    "h": 223.1
  },
  "luminance": 0.17595
}

Semantic roles & 50–950 ramp

primary
#227E9A
secondary
#BF7058
accent
#6841E7
background
#F7FAFB
surface
#EDF3F6
border
#C8CDD0
text
#090F11
muted
#7B7F80

Preview Lab

Preview with #227E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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