#227399#227399

#227399 is a mid, moderate cyan. Relative luminance 0.149; OKLCH L 52.5% C 0.096 H 233.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#227399
RGBrgb(34, 115, 153)
HSLhsl(199, 64%, 37%)
HSVhsv(199, 78%, 60%)
CMYKcmyk(77.8%, 24.8%, 0%, 40%)
CIE-LABlab(45.50, -10.55, -27.42)
CIE-LCHlch(45.50, 29.38, 248.96°)
OKLaboklab(52.54% -0.0569 -0.0773)
OKLCHoklch(52.54% 0.096 233.6)
XYZxyz(12.5379, 14.9000, 32.3460)
Luminance0.1490 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227399 #994822
analogous
#229984 #227399 #223899
triadic
#227399 #992273 #739922
tetradic
#227399 #842299 #994822 #389922
square
#227399 #842299 #994822 #389922
split-complementary
#227399 #992238 #998422
monochromatic
#0C2835 #174D67 #227399 #2D99CB #5BB2DB

Accessibility & contrast

On white

5.28
#227399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#227399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227399
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227399#FFFFFF#000000##FFFFFF
##2273991.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60729B
Deuteranopia (green-blind)
#506798
Tritanopia (blue-blind)
#007D80
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #227399;
/* rgb */ color: rgb(34, 115, 153);
/* oklch */ color: oklch(52.5% 0.096 233.6);
Tailwind
colors: {
  custom: {
    50: '#709bb7',
    500: '#227399',
    950: '#000000',
  },
}
SCSS
$custom: #227399;
$custom-light: #709bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#227399",
  "rgb": {
    "r": 34,
    "g": 115,
    "b": 153
  },
  "hsl": {
    "h": 199.16,
    "s": 63.636,
    "l": 36.667
  },
  "oklch": {
    "l": 0.52542,
    "c": 0.09595,
    "h": 233.6
  },
  "luminance": 0.14901
}

Semantic roles & 50–950 ramp

primary
#227399
secondary
#BF7958
accent
#7641E7
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #227399

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

Preview Lab → · Contrast checker → · Palette generator →

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