#227795#227795

#227795 is a mid, moderate cyan. Relative luminance 0.157; OKLCH L 53.3% C 0.091 H 226.4°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#227795
RGBrgb(34, 119, 149)
HSLhsl(196, 63%, 36%)
HSVhsv(196, 77%, 58%)
CMYKcmyk(77.2%, 20.1%, 0%, 41.6%)
CIE-LABlab(46.58, -14.27, -23.38)
CIE-LCHlch(46.58, 27.39, 238.60°)
OKLaboklab(53.35% -0.0624 -0.0656)
OKLCHoklch(53.35% 0.091 226.4)
XYZxyz(12.6791, 15.7021, 30.7905)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227795 #954022
analogous
#229579 #227795 #223D95
triadic
#227795 #952277 #779522
tetradic
#227795 #792295 #954022 #3D9522
square
#227795 #792295 #954022 #3D9522
split-complementary
#227795 #95223D #957922
monochromatic
#0B2731 #174F63 #227795 #2D9FC7 #58B7D9

Accessibility & contrast

On white

5.07
#227795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#227795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227795
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227795#FFFFFF#000000##FFFFFF
##2277951.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677597
Deuteranopia (green-blind)
#576A95
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227795;
/* rgb */ color: rgb(34, 119, 149);
/* oklch */ color: oklch(53.3% 0.091 226.4);
Tailwind
colors: {
  custom: {
    50: '#6f9eb4',
    500: '#227795',
    950: '#000000',
  },
}
SCSS
$custom: #227795;
$custom-light: #6f9eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#227795",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 149
  },
  "hsl": {
    "h": 195.652,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.5335,
    "c": 0.09055,
    "h": 226.4
  },
  "luminance": 0.15704
}

Semantic roles & 50–950 ramp

primary
#227795
secondary
#BD7156
accent
#6D42E6
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #227795

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

Preview Lab → · Contrast checker → · Palette generator →

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