#228BB1#228BB1

#228BB1 is a mid, moderate cyan. Relative luminance 0.220; OKLCH L 59.7% C 0.107 H 227.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#228BB1
RGBrgb(34, 139, 177)
HSLhsl(196, 68%, 41%)
HSVhsv(196, 81%, 69%)
CMYKcmyk(80.8%, 21.5%, 0%, 30.6%)
CIE-LABlab(54.00, -15.54, -28.16)
CIE-LCHlch(54.00, 32.16, 241.11°)
OKLaboklab(59.68% -0.0714 -0.0792)
OKLCHoklch(59.68% 0.107 227.9)
XYZxyz(17.8248, 21.9774, 44.8891)
Luminance0.2198 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228BB1 #B14822
analogous
#22B190 #228BB1 #2244B1
triadic
#228BB1 #B1228B #8BB122
tetradic
#228BB1 #9022B1 #B14822 #44B122
square
#228BB1 #9022B1 #B14822 #44B122
split-complementary
#228BB1 #B12244 #B19022
monochromatic
#0E3A4A #18637E #228BB1 #38AED9 #6BC3E3

Accessibility & contrast

On white

3.89
#228BB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#228BB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228BB1
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228BB1#FFFFFF#000000##000000
##228BB11.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7789B3
Deuteranopia (green-blind)
#647BB0
Tritanopia (blue-blind)
#009698
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #228bb1;
/* rgb */ color: rgb(34, 139, 177);
/* oklch */ color: oklch(59.7% 0.107 227.9);
Tailwind
colors: {
  custom: {
    50: '#76adc8',
    500: '#228bb1',
    950: '#000000',
  },
}
SCSS
$custom: #228bb1;
$custom-light: #76adc8;
$custom-dark: #000000;
JSON
{
  "hex": "#228bb1",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 177
  },
  "hsl": {
    "h": 195.944,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.59684,
    "c": 0.10664,
    "h": 227.9
  },
  "luminance": 0.2198
}

Semantic roles & 50–950 ramp

primary
#228BB1
secondary
#C98066
accent
#6B3DEB
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #228BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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