#228AB3#228AB3

#228AB3 is a mid, moderate cyan. Relative luminance 0.218; OKLCH L 59.5% C 0.109 H 230.1°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#228AB3
RGBrgb(34, 138, 179)
HSLhsl(197, 68%, 42%)
HSVhsv(197, 81%, 70%)
CMYKcmyk(81%, 22.9%, 0%, 29.8%)
CIE-LABlab(53.78, -14.28, -29.65)
CIE-LCHlch(53.78, 32.91, 244.28°)
OKLaboklab(59.54% -0.0698 -0.0835)
OKLCHoklch(59.54% 0.109 230.1)
XYZxyz(17.8815, 21.7695, 45.8986)
Luminance0.2177 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228AB3 #B34B22
analogous
#22B394 #228AB3 #2241B3
triadic
#228AB3 #B3228A #8AB322
tetradic
#228AB3 #9422B3 #B34B22 #41B322
square
#228AB3 #9422B3 #B34B22 #41B322
split-complementary
#228AB3 #B32241 #B39422
monochromatic
#0E3B4C #186280 #228AB3 #39ACD9 #6CC2E3

Accessibility & contrast

On white

3.92
#228AB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#228AB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228AB3
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228AB3#FFFFFF#000000##000000
##228AB31.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7588B5
Deuteranopia (green-blind)
#627BB2
Tritanopia (blue-blind)
#009598
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #228ab3;
/* rgb */ color: rgb(34, 138, 179);
/* oklch */ color: oklch(59.5% 0.109 230.1);
Tailwind
colors: {
  custom: {
    50: '#76acca',
    500: '#228ab3',
    950: '#000000',
  },
}
SCSS
$custom: #228ab3;
$custom-light: #76acca;
$custom-dark: #000000;
JSON
{
  "hex": "#228ab3",
  "rgb": {
    "r": 34,
    "g": 138,
    "b": 179
  },
  "hsl": {
    "h": 196.966,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.59535,
    "c": 0.10878,
    "h": 230.1
  },
  "luminance": 0.21772
}

Semantic roles & 50–950 ramp

primary
#228AB3
secondary
#C98368
accent
#6E3DEB
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #228AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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