#226271#226271

#226271 is a mid, moderate cyan. Relative luminance 0.103; OKLCH L 46.2% C 0.068 H 216.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#226271
RGBrgb(34, 98, 113)
HSLhsl(191, 54%, 29%)
HSVhsv(191, 70%, 44%)
CMYKcmyk(69.9%, 13.3%, 0%, 55.7%)
CIE-LABlab(38.32, -14.94, -14.42)
CIE-LCHlch(38.32, 20.77, 223.99°)
OKLaboklab(46.23% -0.0548 -0.0401)
OKLCHoklch(46.23% 0.068 216.2)
XYZxyz(8.0068, 10.2668, 17.1793)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226271 #713122
analogous
#227159 #226271 #223B71
triadic
#226271 #712262 #627122
tetradic
#226271 #592271 #713122 #3B7122
square
#226271 #592271 #713122 #3B7122
split-complementary
#226271 #71223B #715922
monochromatic
#071418 #143942 #226271 #308BA0 #46AFC7

Accessibility & contrast

On white

6.88
#226271 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#226271 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226271
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226271#FFFFFF#000000##FFFFFF
##2262711.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585F72
Deuteranopia (green-blind)
#4D5771
Tritanopia (blue-blind)
#006767
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #226271;
/* rgb */ color: rgb(34, 98, 113);
/* oklch */ color: oklch(46.2% 0.068 216.2);
Tailwind
colors: {
  custom: {
    50: '#688e99',
    500: '#226271',
    950: '#000000',
  },
}
SCSS
$custom: #226271;
$custom-light: #688e99;
$custom-dark: #000000;
JSON
{
  "hex": "#226271",
  "rgb": {
    "r": 34,
    "g": 98,
    "b": 113
  },
  "hsl": {
    "h": 191.392,
    "s": 53.741,
    "l": 28.824
  },
  "oklch": {
    "l": 0.46232,
    "c": 0.0679,
    "h": 216.2
  },
  "luminance": 0.10268
}

Semantic roles & 50–950 ramp

primary
#226271
secondary
#A45C4A
accent
#664BDD
background
#F6F8F9
surface
#EBF0F2
border
#C6CBCC
text
#070C0E
muted
#7A7D7E

Preview Lab

Preview with #226271

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

Preview Lab → · Contrast checker → · Palette generator →

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