#226791#226791

#226791 is a mid, moderate cyan. Relative luminance 0.121; OKLCH L 49.1% C 0.095 H 239.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#226791
RGBrgb(34, 103, 145)
HSLhsl(203, 62%, 35%)
HSVhsv(203, 77%, 57%)
CMYKcmyk(76.6%, 29%, 0%, 43.1%)
CIE-LABlab(41.35, -6.38, -29.14)
CIE-LCHlch(41.35, 29.83, 257.65°)
OKLaboklab(49.12% -0.0477 -0.0824)
OKLCHoklch(49.12% 0.095 239.9)
XYZxyz(10.6188, 12.0837, 28.5553)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226791 #914C22
analogous
#229184 #226791 #222F91
triadic
#226791 #912267 #679122
tetradic
#226791 #842291 #914C22 #2F9122
square
#226791 #842291 #914C22 #2F9122
split-complementary
#226791 #91222F #918422
monochromatic
#0B212E #16445F #226791 #2E8AC3 #56A6D7

Accessibility & contrast

On white

6.15
#226791 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#226791 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226791
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226791#FFFFFF#000000##FFFFFF
##2267911.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536793
Deuteranopia (green-blind)
#445D90
Tritanopia (blue-blind)
#007276
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #226791;
/* rgb */ color: rgb(34, 103, 145);
/* oklch */ color: oklch(49.1% 0.095 239.9);
Tailwind
colors: {
  custom: {
    50: '#6e92b1',
    500: '#226791',
    950: '#000000',
  },
}
SCSS
$custom: #226791;
$custom-light: #6e92b1;
$custom-dark: #000000;
JSON
{
  "hex": "#226791",
  "rgb": {
    "r": 34,
    "g": 103,
    "b": 145
  },
  "hsl": {
    "h": 202.703,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4912,
    "c": 0.09517,
    "h": 239.9
  },
  "luminance": 0.12085
}

Semantic roles & 50–950 ramp

primary
#226791
secondary
#BB7B53
accent
#8043E5
background
#F7F8FA
surface
#EDF0F5
border
#C8CBCF
text
#080D10
muted
#7B7D7F

Preview Lab

Preview with #226791

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

Preview Lab → · Contrast checker → · Palette generator →

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