#228CB1#228CB1

#228CB1 is a mid, moderate cyan. Relative luminance 0.223; OKLCH L 59.9% C 0.106 H 227.1°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#228CB1
RGBrgb(34, 140, 177)
HSLhsl(196, 68%, 41%)
HSVhsv(196, 81%, 69%)
CMYKcmyk(80.8%, 20.9%, 0%, 30.6%)
CIE-LABlab(54.31, -16.09, -27.68)
CIE-LCHlch(54.31, 32.02, 239.83°)
OKLaboklab(59.93% -0.0724 -0.0778)
OKLCHoklch(59.93% 0.106 227.1)
XYZxyz(17.9703, 22.2683, 44.9375)
Luminance0.2227 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228CB1 #B14722
analogous
#22B18F #228CB1 #2245B1
triadic
#228CB1 #B1228C #8CB122
tetradic
#228CB1 #8F22B1 #B14722 #45B122
square
#228CB1 #8F22B1 #B14722 #45B122
split-complementary
#228CB1 #B12245 #B18F22
monochromatic
#0E3B4A #18637E #228CB1 #38AFD9 #6BC4E3

Accessibility & contrast

On white

3.85
#228CB1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#228CB1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228CB1
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228CB1#FFFFFF#000000##000000
##228CB11.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7889B3
Deuteranopia (green-blind)
#657CB1
Tritanopia (blue-blind)
#009798
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #228cb1;
/* rgb */ color: rgb(34, 140, 177);
/* oklch */ color: oklch(59.9% 0.106 227.1);
Tailwind
colors: {
  custom: {
    50: '#76adc8',
    500: '#228cb1',
    950: '#000000',
  },
}
SCSS
$custom: #228cb1;
$custom-light: #76adc8;
$custom-dark: #000000;
JSON
{
  "hex": "#228cb1",
  "rgb": {
    "r": 34,
    "g": 140,
    "b": 177
  },
  "hsl": {
    "h": 195.524,
    "s": 67.773,
    "l": 41.373
  },
  "oklch": {
    "l": 0.5993,
    "c": 0.10627,
    "h": 227.1
  },
  "luminance": 0.22271
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #228CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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