#226795#226795

#226795 is a mid, moderate cyan. Relative luminance 0.122; OKLCH L 49.3% C 0.100 H 242.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#226795
RGBrgb(34, 103, 149)
HSLhsl(204, 63%, 36%)
HSVhsv(204, 77%, 58%)
CMYKcmyk(77.2%, 30.9%, 0%, 41.6%)
CIE-LABlab(41.55, -4.88, -31.22)
CIE-LCHlch(41.55, 31.60, 261.11°)
OKLaboklab(49.34% -0.0463 -0.0884)
OKLCHoklch(49.34% 0.1 242.3)
XYZxyz(10.9326, 12.2092, 30.2084)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#226795 #955022
analogous
#229589 #226795 #222D95
triadic
#226795 #952267 #679522
tetradic
#226795 #892295 #955022 #2D9522
square
#226795 #892295 #955022 #2D9522
split-complementary
#226795 #95222D #958922
monochromatic
#0B2231 #174563 #226795 #2D89C7 #58A6D9

Accessibility & contrast

On white

6.10
#226795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#226795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #226795
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##226795#FFFFFF#000000##FFFFFF
##2267951.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526897
Deuteranopia (green-blind)
#425D94
Tritanopia (blue-blind)
#007277
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #226795;
/* rgb */ color: rgb(34, 103, 149);
/* oklch */ color: oklch(49.3% 0.100 242.3);
Tailwind
colors: {
  custom: {
    50: '#6e92b4',
    500: '#226795',
    950: '#000000',
  },
}
SCSS
$custom: #226795;
$custom-light: #6e92b4;
$custom-dark: #000000;
JSON
{
  "hex": "#226795",
  "rgb": {
    "r": 34,
    "g": 103,
    "b": 149
  },
  "hsl": {
    "h": 204,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49342,
    "c": 0.09983,
    "h": 242.3
  },
  "luminance": 0.12211
}

Semantic roles & 50–950 ramp

primary
#226795
secondary
#BD7F56
accent
#8442E6
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#080C11
muted
#7B7D80

Preview Lab

Preview with #226795

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

Preview Lab → · Contrast checker → · Palette generator →

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