#227791#227791

#227791 is a mid, moderate cyan. Relative luminance 0.156; OKLCH L 53.2% C 0.087 H 222.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#227791
RGBrgb(34, 119, 145)
HSLhsl(194, 62%, 35%)
HSVhsv(194, 77%, 57%)
CMYKcmyk(76.6%, 17.9%, 0%, 43.1%)
CIE-LABlab(46.41, -15.67, -21.27)
CIE-LCHlch(46.41, 26.42, 233.62°)
OKLaboklab(53.16% -0.064 -0.0595)
OKLCHoklch(53.16% 0.087 222.9)
XYZxyz(12.3652, 15.5766, 29.1375)
Luminance0.1558 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227791 #913C22
analogous
#229173 #227791 #224091
triadic
#227791 #912277 #779122
tetradic
#227791 #732291 #913C22 #409122
square
#227791 #732291 #913C22 #409122
split-complementary
#227791 #912240 #917322
monochromatic
#0B262E #164E5F #227791 #2EA0C3 #56B9D7

Accessibility & contrast

On white

5.10
#227791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#227791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227791
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227791#FFFFFF#000000##FFFFFF
##2277911.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687492
Deuteranopia (green-blind)
#596991
Tritanopia (blue-blind)
#007F7F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227791;
/* rgb */ color: rgb(34, 119, 145);
/* oklch */ color: oklch(53.2% 0.087 222.9);
Tailwind
colors: {
  custom: {
    50: '#6f9eb1',
    500: '#227791',
    950: '#000000',
  },
}
SCSS
$custom: #227791;
$custom-light: #6f9eb1;
$custom-dark: #000000;
JSON
{
  "hex": "#227791",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 145
  },
  "hsl": {
    "h": 194.054,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53161,
    "c": 0.08744,
    "h": 222.9
  },
  "luminance": 0.15578
}

Semantic roles & 50–950 ramp

primary
#227791
secondary
#BB6C53
accent
#6943E5
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #227791

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

Preview Lab → · Contrast checker → · Palette generator →

#227791 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva