#228BAF#228BAF

#228BAF is a mid, moderate cyan. Relative luminance 0.219; OKLCH L 59.6% C 0.105 H 226.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#228BAF
RGBrgb(34, 139, 175)
HSLhsl(195, 67%, 41%)
HSVhsv(195, 81%, 69%)
CMYKcmyk(80.6%, 20.6%, 0%, 31.4%)
CIE-LABlab(53.92, -16.24, -27.14)
CIE-LCHlch(53.92, 31.63, 239.11°)
OKLaboklab(59.59% -0.0722 -0.0762)
OKLCHoklch(59.59% 0.105 226.6)
XYZxyz(17.6270, 21.8983, 43.8469)
Luminance0.2190 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228BAF #AF4622
analogous
#22AF8C #228BAF #2244AF
triadic
#228BAF #AF228B #8BAF22
tetradic
#228BAF #8C22AF #AF4622 #44AF22
square
#228BAF #8C22AF #AF4622 #44AF22
split-complementary
#228BAF #AF2244 #AF8C22
monochromatic
#0E3A49 #18627C #228BAF #36AFD8 #69C3E2

Accessibility & contrast

On white

3.90
#228BAF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#228BAF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228BAF
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228BAF#FFFFFF#000000##000000
##228BAF1.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7888B1
Deuteranopia (green-blind)
#657BAF
Tritanopia (blue-blind)
#009597
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #228baf;
/* rgb */ color: rgb(34, 139, 175);
/* oklch */ color: oklch(59.6% 0.105 226.6);
Tailwind
colors: {
  custom: {
    50: '#75adc7',
    500: '#228baf',
    950: '#000000',
  },
}
SCSS
$custom: #228baf;
$custom-light: #75adc7;
$custom-dark: #000000;
JSON
{
  "hex": "#228baf",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 175
  },
  "hsl": {
    "h": 195.319,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.59589,
    "c": 0.105,
    "h": 226.6
  },
  "luminance": 0.219
}

Semantic roles & 50–950 ramp

primary
#228BAF
secondary
#C87E65
accent
#6A3DEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #228BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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