#228CB4#228CB4

#228CB4 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.1% C 0.109 H 229.1°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#228CB4
RGBrgb(34, 140, 180)
HSLhsl(196, 68%, 42%)
HSVhsv(196, 81%, 71%)
CMYKcmyk(81.1%, 22.2%, 0%, 29.4%)
CIE-LABlab(54.44, -15.04, -29.20)
CIE-LCHlch(54.44, 32.84, 242.75°)
OKLaboklab(60.07% -0.0713 -0.0822)
OKLCHoklch(60.07% 0.109 229.1)
XYZxyz(18.2726, 22.3893, 46.5297)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228CB4 #B44A22
analogous
#22B493 #228CB4 #2243B4
triadic
#228CB4 #B4228C #8CB422
tetradic
#228CB4 #9322B4 #B44A22 #43B422
square
#228CB4 #9322B4 #B44A22 #43B422
split-complementary
#228CB4 #B42243 #B49322
monochromatic
#0F3C4D #186481 #228CB4 #3AAEDA #6DC3E3

Accessibility & contrast

On white

3.83
#228CB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#228CB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228CB4
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228CB4#FFFFFF#000000##000000
##228CB41.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#778AB6
Deuteranopia (green-blind)
#647CB3
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #228cb4;
/* rgb */ color: rgb(34, 140, 180);
/* oklch */ color: oklch(60.1% 0.109 229.1);
Tailwind
colors: {
  custom: {
    50: '#76adca',
    500: '#228cb4',
    950: '#000000',
  },
}
SCSS
$custom: #228cb4;
$custom-light: #76adca;
$custom-dark: #000000;
JSON
{
  "hex": "#228cb4",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 180
  },
  "hsl": {
    "h": 196.438,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60074,
    "c": 0.10878,
    "h": 229.1
  },
  "luminance": 0.22392
}

Semantic roles & 50–950 ramp

primary
#228CB4
secondary
#CA8368
accent
#6C3DEB
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #228CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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