#228AAF#228AAF

#228AAF is a mid, moderate cyan. Relative luminance 0.216; OKLCH L 59.3% C 0.105 H 227.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#228AAF
RGBrgb(34, 138, 175)
HSLhsl(196, 67%, 41%)
HSVhsv(196, 81%, 69%)
CMYKcmyk(80.6%, 21.1%, 0%, 31.4%)
CIE-LABlab(53.61, -15.69, -27.62)
CIE-LCHlch(53.61, 31.77, 240.40°)
OKLaboklab(59.34% -0.0712 -0.0776)
OKLCHoklch(59.34% 0.105 227.5)
XYZxyz(17.4828, 21.6100, 43.7989)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228AAF #AF4722
analogous
#22AF8D #228AAF #2243AF
triadic
#228AAF #AF228A #8AAF22
tetradic
#228AAF #8D22AF #AF4722 #43AF22
square
#228AAF #8D22AF #AF4722 #43AF22
split-complementary
#228AAF #AF2243 #AF8D22
monochromatic
#0E3949 #18627C #228AAF #36AED8 #69C2E2

Accessibility & contrast

On white

3.95
#228AAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#228AAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228AAF
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228AAF#FFFFFF#000000##000000
##228AAF1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7687B1
Deuteranopia (green-blind)
#647AAF
Tritanopia (blue-blind)
#009596
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #228aaf;
/* rgb */ color: rgb(34, 138, 175);
/* oklch */ color: oklch(59.3% 0.105 227.5);
Tailwind
colors: {
  custom: {
    50: '#75acc7',
    500: '#228aaf',
    950: '#000000',
  },
}
SCSS
$custom: #228aaf;
$custom-light: #75acc7;
$custom-dark: #000000;
JSON
{
  "hex": "#228aaf",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 175
  },
  "hsl": {
    "h": 195.745,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.59342,
    "c": 0.10536,
    "h": 227.5
  },
  "luminance": 0.21612
}

Semantic roles & 50–950 ramp

primary
#228AAF
secondary
#C87F65
accent
#6B3DEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #228AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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