#228EB4#228EB4

#228EB4 is a mid, moderate cyan. Relative luminance 0.230; OKLCH L 60.6% C 0.108 H 227.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#228EB4
RGBrgb(34, 142, 180)
HSLhsl(196, 68%, 42%)
HSVhsv(196, 81%, 71%)
CMYKcmyk(81.1%, 21.1%, 0%, 29.4%)
CIE-LABlab(55.05, -16.14, -28.25)
CIE-LCHlch(55.05, 32.53, 240.27°)
OKLaboklab(60.57% -0.0732 -0.0794)
OKLCHoklch(60.57% 0.108 227.3)
XYZxyz(18.5675, 22.9791, 46.6280)
Luminance0.2298 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228EB4 #B44822
analogous
#22B491 #228EB4 #2245B4
triadic
#228EB4 #B4228E #8EB422
tetradic
#228EB4 #9122B4 #B44822 #45B422
square
#228EB4 #9122B4 #B44822 #45B422
split-complementary
#228EB4 #B42245 #B49122
monochromatic
#0F3D4D #186581 #228EB4 #3AB0DA #6DC5E3

Accessibility & contrast

On white

3.75
#228EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#228EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228EB4
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228EB4#FFFFFF#000000##000000
##228EB41.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A8BB6
Deuteranopia (green-blind)
#677EB4
Tritanopia (blue-blind)
#00999B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #228eb4;
/* rgb */ color: rgb(34, 142, 180);
/* oklch */ color: oklch(60.6% 0.108 227.3);
Tailwind
colors: {
  custom: {
    50: '#76afca',
    500: '#228eb4',
    950: '#000000',
  },
}
SCSS
$custom: #228eb4;
$custom-light: #76afca;
$custom-dark: #000000;
JSON
{
  "hex": "#228eb4",
  "rgb": {
    "r": 34,
    "g": 142,
    "b": 180
  },
  "hsl": {
    "h": 195.616,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60565,
    "c": 0.10799,
    "h": 227.3
  },
  "luminance": 0.22981
}

Semantic roles & 50–950 ramp

primary
#228EB4
secondary
#CA8268
accent
#6A3DEB
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #228EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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