#228BB3#228BB3

#228BB3 is a mid, moderate cyan. Relative luminance 0.221; OKLCH L 59.8% C 0.108 H 229.3°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#228BB3
RGBrgb(34, 139, 179)
HSLhsl(197, 68%, 42%)
HSVhsv(197, 81%, 70%)
CMYKcmyk(81%, 22.3%, 0%, 29.8%)
CIE-LABlab(54.09, -14.84, -29.17)
CIE-LCHlch(54.09, 32.73, 243.04°)
OKLaboklab(59.78% -0.0707 -0.0821)
OKLCHoklch(59.78% 0.108 229.3)
XYZxyz(18.0256, 22.0577, 45.9466)
Luminance0.2206 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228BB3 #B34A22
analogous
#22B393 #228BB3 #2242B3
triadic
#228BB3 #B3228B #8BB322
tetradic
#228BB3 #9322B3 #B34A22 #42B322
square
#228BB3 #9322B3 #B34A22 #42B322
split-complementary
#228BB3 #B32242 #B39322
monochromatic
#0E3B4C #186380 #228BB3 #39ADD9 #6CC2E3

Accessibility & contrast

On white

3.88
#228BB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#228BB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228BB3
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228BB3#FFFFFF#000000##000000
##228BB31.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7689B5
Deuteranopia (green-blind)
#637BB2
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #228bb3;
/* rgb */ color: rgb(34, 139, 179);
/* oklch */ color: oklch(59.8% 0.108 229.3);
Tailwind
colors: {
  custom: {
    50: '#76adca',
    500: '#228bb3',
    950: '#000000',
  },
}
SCSS
$custom: #228bb3;
$custom-light: #76adca;
$custom-dark: #000000;
JSON
{
  "hex": "#228bb3",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 179
  },
  "hsl": {
    "h": 196.552,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5978,
    "c": 0.10834,
    "h": 229.3
  },
  "luminance": 0.2206
}

Semantic roles & 50–950 ramp

primary
#228BB3
secondary
#C98268
accent
#6D3DEB
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #228BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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