#228CB3#228CB3

#228CB3 is a mid, moderate cyan. Relative luminance 0.224; OKLCH L 60.0% C 0.108 H 228.4°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#228CB3
RGBrgb(34, 140, 179)
HSLhsl(196, 68%, 42%)
HSVhsv(196, 81%, 70%)
CMYKcmyk(81%, 21.8%, 0%, 29.8%)
CIE-LABlab(54.40, -15.39, -28.69)
CIE-LCHlch(54.40, 32.56, 241.80°)
OKLaboklab(60.03% -0.0716 -0.0807)
OKLCHoklch(60.03% 0.108 228.4)
XYZxyz(18.1711, 22.3487, 45.9951)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228CB3 #B34922
analogous
#22B392 #228CB3 #2244B3
triadic
#228CB3 #B3228C #8CB322
tetradic
#228CB3 #9222B3 #B34922 #44B322
square
#228CB3 #9222B3 #B34922 #44B322
split-complementary
#228CB3 #B32244 #B39222
monochromatic
#0E3C4C #186480 #228CB3 #39AED9 #6CC3E3

Accessibility & contrast

On white

3.84
#228CB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#228CB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228CB3
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228CB3#FFFFFF#000000##000000
##228CB31.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#778AB5
Deuteranopia (green-blind)
#657CB2
Tritanopia (blue-blind)
#009799
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #228cb3;
/* rgb */ color: rgb(34, 140, 179);
/* oklch */ color: oklch(60.0% 0.108 228.4);
Tailwind
colors: {
  custom: {
    50: '#76adca',
    500: '#228cb3',
    950: '#000000',
  },
}
SCSS
$custom: #228cb3;
$custom-light: #76adca;
$custom-dark: #000000;
JSON
{
  "hex": "#228cb3",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 179
  },
  "hsl": {
    "h": 196.138,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.60026,
    "c": 0.10793,
    "h": 228.4
  },
  "luminance": 0.22351
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228CB3

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

Preview Lab → · Contrast checker → · Palette generator →

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