#228BAD#228BAD

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

Color values

HEX#228BAD
RGBrgb(34, 139, 173)
HSLhsl(195, 67%, 41%)
HSVhsv(195, 80%, 68%)
CMYKcmyk(80.3%, 19.7%, 0%, 32.2%)
CIE-LABlab(53.84, -16.94, -26.12)
CIE-LCHlch(53.84, 31.13, 237.04°)
OKLaboklab(59.5% -0.073 -0.0733)
OKLCHoklch(59.5% 0.103 225.1)
XYZxyz(17.4320, 21.8203, 42.8200)
Luminance0.2182 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228BAD #AD4422
analogous
#22AD89 #228BAD #2246AD
triadic
#228BAD #AD228B #8BAD22
tetradic
#228BAD #8922AD #AD4422 #46AD22
square
#228BAD #8922AD #AD4422 #46AD22
split-complementary
#228BAD #AD2246 #AD8922
monochromatic
#0E3947 #18627A #228BAD #35B0D7 #68C4E1

Accessibility & contrast

On white

3.91
#228BAD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#228BAD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228BAD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228BAD#FFFFFF#000000##000000
##228BAD1.003.915.365.36
#FFFFFF3.911.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7888AF
Deuteranopia (green-blind)
#667BAD
Tritanopia (blue-blind)
#009596
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #228bad;
/* rgb */ color: rgb(34, 139, 173);
/* oklch */ color: oklch(59.5% 0.103 225.1);
Tailwind
colors: {
  custom: {
    50: '#75adc5',
    500: '#228bad',
    950: '#000000',
  },
}
SCSS
$custom: #228bad;
$custom-light: #75adc5;
$custom-dark: #000000;
JSON
{
  "hex": "#228bad",
  "rgb": {
    "r": 34,
    "g": 139,
    "b": 173
  },
  "hsl": {
    "h": 194.676,
    "s": 67.15,
    "l": 40.588
  },
  "oklch": {
    "l": 0.59495,
    "c": 0.10344,
    "h": 225.1
  },
  "luminance": 0.21822
}

Semantic roles & 50–950 ramp

primary
#228BAD
secondary
#C77C64
accent
#683EEA
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #228BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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