#228BB4#228BB4

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

Color values

HEX#228BB4
RGBrgb(34, 139, 180)
HSLhsl(197, 68%, 42%)
HSVhsv(197, 81%, 71%)
CMYKcmyk(81.1%, 22.8%, 0%, 29.4%)
CIE-LABlab(54.13, -14.48, -29.68)
CIE-LCHlch(54.13, 33.02, 243.99°)
OKLaboklab(59.83% -0.0703 -0.0835)
OKLCHoklch(59.83% 0.109 229.9)
XYZxyz(18.1271, 22.0983, 46.4812)
Luminance0.2210 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228BB4 #B44B22
analogous
#22B494 #228BB4 #2242B4
triadic
#228BB4 #B4228B #8BB422
tetradic
#228BB4 #9422B4 #B44B22 #42B422
square
#228BB4 #9422B4 #B44B22 #42B422
split-complementary
#228BB4 #B42242 #B49422
monochromatic
#0F3B4D #186381 #228BB4 #3AADDA #6DC2E3

Accessibility & contrast

On white

3.87
#228BB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#228BB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228BB4
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228BB4#FFFFFF#000000##000000
##228BB41.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7689B6
Deuteranopia (green-blind)
#637BB3
Tritanopia (blue-blind)
#009699
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #228bb4;
/* rgb */ color: rgb(34, 139, 180);
/* oklch */ color: oklch(59.8% 0.109 229.9);
Tailwind
colors: {
  custom: {
    50: '#76adca',
    500: '#228bb4',
    950: '#000000',
  },
}
SCSS
$custom: #228bb4;
$custom-light: #76adca;
$custom-dark: #000000;
JSON
{
  "hex": "#228bb4",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 180
  },
  "hsl": {
    "h": 196.849,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.59829,
    "c": 0.10921,
    "h": 229.9
  },
  "luminance": 0.22101
}

Semantic roles & 50–950 ramp

primary
#228BB4
secondary
#CA8468
accent
#6E3DEB
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #228BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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