#228AB4#228AB4

#228AB4 is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.6% C 0.110 H 230.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#228AB4
RGBrgb(34, 138, 180)
HSLhsl(197, 68%, 42%)
HSVhsv(197, 81%, 71%)
CMYKcmyk(81.1%, 23.3%, 0%, 29.4%)
CIE-LABlab(53.82, -13.93, -30.15)
CIE-LCHlch(53.82, 33.21, 245.21°)
OKLaboklab(59.58% -0.0694 -0.0849)
OKLCHoklch(59.58% 0.11 230.8)
XYZxyz(17.9830, 21.8101, 46.4331)
Luminance0.2181 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228AB4 #B44C22
analogous
#22B495 #228AB4 #2241B4
triadic
#228AB4 #B4228A #8AB422
tetradic
#228AB4 #9522B4 #B44C22 #41B422
square
#228AB4 #9522B4 #B44C22 #41B422
split-complementary
#228AB4 #B42241 #B49522
monochromatic
#0F3B4D #186381 #228AB4 #3AACDA #6DC1E3

Accessibility & contrast

On white

3.92
#228AB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#228AB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228AB4
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228AB4#FFFFFF#000000##000000
##228AB41.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7588B6
Deuteranopia (green-blind)
#617BB3
Tritanopia (blue-blind)
#009598
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #228ab4;
/* rgb */ color: rgb(34, 138, 180);
/* oklch */ color: oklch(59.6% 0.110 230.8);
Tailwind
colors: {
  custom: {
    50: '#76acca',
    500: '#228ab4',
    950: '#000000',
  },
}
SCSS
$custom: #228ab4;
$custom-light: #76acca;
$custom-dark: #000000;
JSON
{
  "hex": "#228ab4",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 180
  },
  "hsl": {
    "h": 197.26,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.59584,
    "c": 0.10967,
    "h": 230.8
  },
  "luminance": 0.21812
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228AB4

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

Preview Lab → · Contrast checker → · Palette generator →

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