#227891#227891

#227891 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.4% C 0.087 H 221.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#227891
RGBrgb(34, 120, 145)
HSLhsl(194, 62%, 35%)
HSVhsv(194, 77%, 57%)
CMYKcmyk(76.6%, 17.2%, 0%, 43.1%)
CIE-LABlab(46.73, -16.23, -20.78)
CIE-LCHlch(46.73, 26.37, 232.01°)
OKLaboklab(53.42% -0.0651 -0.0581)
OKLCHoklch(53.42% 0.087 221.8)
XYZxyz(12.4849, 15.8159, 29.1773)
Luminance0.1582 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227891 #913B22
analogous
#229173 #227891 #224091
triadic
#227891 #912278 #789122
tetradic
#227891 #732291 #913B22 #409122
square
#227891 #732291 #913B22 #409122
split-complementary
#227891 #912240 #917322
monochromatic
#0B262E #164F5F #227891 #2EA1C3 #56BAD7

Accessibility & contrast

On white

5.04
#227891 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#227891 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227891
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227891#FFFFFF#000000##FFFFFF
##2278911.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697592
Deuteranopia (green-blind)
#5A6A91
Tritanopia (blue-blind)
#008080
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #227891;
/* rgb */ color: rgb(34, 120, 145);
/* oklch */ color: oklch(53.4% 0.087 221.8);
Tailwind
colors: {
  custom: {
    50: '#6f9fb1',
    500: '#227891',
    950: '#000000',
  },
}
SCSS
$custom: #227891;
$custom-light: #6f9fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#227891",
  "rgb": {
    "r": 34,
    "g": 120,
    "b": 145
  },
  "hsl": {
    "h": 193.514,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53416,
    "c": 0.08726,
    "h": 221.8
  },
  "luminance": 0.15817
}

Semantic roles & 50–950 ramp

primary
#227891
secondary
#BB6B53
accent
#6743E5
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #227891

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

Preview Lab → · Contrast checker → · Palette generator →

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