#228CAF#228CAF

#228CAF is a mid, moderate cyan. Relative luminance 0.222; OKLCH L 59.8% C 0.105 H 225.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#228CAF
RGBrgb(34, 140, 175)
HSLhsl(195, 67%, 41%)
HSVhsv(195, 81%, 69%)
CMYKcmyk(80.6%, 20%, 0%, 31.4%)
CIE-LABlab(54.23, -16.79, -26.66)
CIE-LCHlch(54.23, 31.51, 237.81°)
OKLaboklab(59.84% -0.0732 -0.0749)
OKLCHoklch(59.84% 0.105 225.7)
XYZxyz(17.7724, 22.1892, 43.8954)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228CAF #AF4522
analogous
#22AF8B #228CAF #2245AF
triadic
#228CAF #AF228C #8CAF22
tetradic
#228CAF #8B22AF #AF4522 #45AF22
square
#228CAF #8B22AF #AF4522 #45AF22
split-complementary
#228CAF #AF2245 #AF8B22
monochromatic
#0E3A49 #18637C #228CAF #36B0D8 #69C4E2

Accessibility & contrast

On white

3.86
#228CAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#228CAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228CAF
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228CAF#FFFFFF#000000##000000
##228CAF1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7989B1
Deuteranopia (green-blind)
#667CAF
Tritanopia (blue-blind)
#009697
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #228caf;
/* rgb */ color: rgb(34, 140, 175);
/* oklch */ color: oklch(59.8% 0.105 225.7);
Tailwind
colors: {
  custom: {
    50: '#75adc7',
    500: '#228caf',
    950: '#000000',
  },
}
SCSS
$custom: #228caf;
$custom-light: #75adc7;
$custom-dark: #000000;
JSON
{
  "hex": "#228caf",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 175
  },
  "hsl": {
    "h": 194.894,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.59836,
    "c": 0.10467,
    "h": 225.7
  },
  "luminance": 0.22191
}

Semantic roles & 50–950 ramp

primary
#228CAF
secondary
#C87E65
accent
#683DEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #228CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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