#227AAF#227AAF

#227AAF is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.4% C 0.115 H 240.7°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#227AAF
RGBrgb(34, 122, 175)
HSLhsl(203, 67%, 41%)
HSVhsv(203, 81%, 69%)
CMYKcmyk(80.6%, 30.3%, 0%, 31.4%)
CIE-LABlab(48.70, -6.57, -35.28)
CIE-LCHlch(48.70, 35.89, 259.45°)
OKLaboklab(55.43% -0.0561 -0.1)
OKLCHoklch(55.43% 0.115 240.7)
XYZxyz(15.3540, 17.3524, 43.0892)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227AAF #AF5722
analogous
#22AF9D #227AAF #2234AF
triadic
#227AAF #AF227A #7AAF22
tetradic
#227AAF #9D22AF #AF5722 #34AF22
square
#227AAF #9D22AF #AF5722 #34AF22
split-complementary
#227AAF #AF2234 #AF9D22
monochromatic
#0E3349 #18567C #227AAF #369BD8 #69B5E2

Accessibility & contrast

On white

4.70
#227AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#227AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227AAF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227AAF#FFFFFF#000000##FFFFFF
##227AAF1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#617BB1
Deuteranopia (green-blind)
#4E6EAE
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #227aaf;
/* rgb */ color: rgb(34, 122, 175);
/* oklch */ color: oklch(55.4% 0.115 240.7);
Tailwind
colors: {
  custom: {
    50: '#74a0c7',
    500: '#227aaf',
    950: '#000000',
  },
}
SCSS
$custom: #227aaf;
$custom-light: #74a0c7;
$custom-dark: #000000;
JSON
{
  "hex": "#227aaf",
  "rgb": {
    "r": 34,
    "g": 122,
    "b": 175
  },
  "hsl": {
    "h": 202.553,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5543,
    "c": 0.11466,
    "h": 240.7
  },
  "luminance": 0.17354
}

Semantic roles & 50–950 ramp

primary
#227AAF
secondary
#C88A65
accent
#7E3DEA
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #227AAF

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

Preview Lab → · Contrast checker → · Palette generator →

#227AAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva