#227291#227291

#227291 is a mid, moderate cyan. Relative luminance 0.144; OKLCH L 51.9% C 0.089 H 228.5°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#227291
RGBrgb(34, 114, 145)
HSLhsl(197, 62%, 35%)
HSVhsv(197, 77%, 57%)
CMYKcmyk(76.6%, 21.4%, 0%, 43.1%)
CIE-LABlab(44.83, -12.85, -23.72)
CIE-LCHlch(44.83, 26.98, 241.56°)
OKLaboklab(51.89% -0.0589 -0.0666)
OKLCHoklch(51.89% 0.089 228.5)
XYZxyz(11.7858, 14.4176, 28.9443)
Luminance0.1442 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227291 #914122
analogous
#229179 #227291 #223A91
triadic
#227291 #912272 #729122
tetradic
#227291 #792291 #914122 #3A9122
square
#227291 #792291 #914122 #3A9122
split-complementary
#227291 #91223A #917922
monochromatic
#0B242E #164B5F #227291 #2E99C3 #56B3D7

Accessibility & contrast

On white

5.41
#227291 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#227291 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227291
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227291#FFFFFF#000000##FFFFFF
##2272911.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#627093
Deuteranopia (green-blind)
#536591
Tritanopia (blue-blind)
#007B7C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #227291;
/* rgb */ color: rgb(34, 114, 145);
/* oklch */ color: oklch(51.9% 0.089 228.5);
Tailwind
colors: {
  custom: {
    50: '#6e9ab1',
    500: '#227291',
    950: '#000000',
  },
}
SCSS
$custom: #227291;
$custom-light: #6e9ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#227291",
  "rgb": {
    "r": 34,
    "g": 114,
    "b": 145
  },
  "hsl": {
    "h": 196.757,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.51889,
    "c": 0.0889,
    "h": 228.5
  },
  "luminance": 0.14419
}

Semantic roles & 50–950 ramp

primary
#227291
secondary
#BB7053
accent
#7043E5
background
#F7F9FA
surface
#EDF2F5
border
#C8CCCF
text
#080E10
muted
#7B7E7F

Preview Lab

Preview with #227291

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

Preview Lab → · Contrast checker → · Palette generator →

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