#227794#227794

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

Color values

HEX#227794
RGBrgb(34, 119, 148)
HSLhsl(195, 63%, 36%)
HSVhsv(195, 77%, 58%)
CMYKcmyk(77%, 19.6%, 0%, 42%)
CIE-LABlab(46.54, -14.62, -22.85)
CIE-LCHlch(46.54, 27.13, 237.39°)
OKLaboklab(53.3% -0.0628 -0.0641)
OKLCHoklch(53.3% 0.09 225.6)
XYZxyz(12.5996, 15.6703, 30.3719)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227794 #943F22
analogous
#229478 #227794 #223E94
triadic
#227794 #942277 #779422
tetradic
#227794 #782294 #943F22 #3E9422
square
#227794 #782294 #943F22 #3E9422
split-complementary
#227794 #94223E #947822
monochromatic
#0B2730 #174F62 #227794 #2D9FC6 #58B8D9

Accessibility & contrast

On white

5.08
#227794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#227794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227794
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227794#FFFFFF#000000##FFFFFF
##2277941.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#677495
Deuteranopia (green-blind)
#586994
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #227794;
/* rgb */ color: rgb(34, 119, 148);
/* oklch */ color: oklch(53.3% 0.090 225.6);
Tailwind
colors: {
  custom: {
    50: '#6f9eb3',
    500: '#227794',
    950: '#000000',
  },
}
SCSS
$custom: #227794;
$custom-light: #6f9eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#227794",
  "rgb": {
    "r": 34,
    "g": 119,
    "b": 148
  },
  "hsl": {
    "h": 195.263,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.53302,
    "c": 0.08974,
    "h": 225.6
  },
  "luminance": 0.15672
}

Semantic roles & 50–950 ramp

primary
#227794
secondary
#BD6F55
accent
#6C42E6
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#080E11
muted
#7B7E80

Preview Lab

Preview with #227794

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

Preview Lab → · Contrast checker → · Palette generator →

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