#228FB3#228FB3

#228FB3 is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.8% C 0.107 H 225.8°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#228FB3
RGBrgb(34, 143, 179)
HSLhsl(195, 68%, 42%)
HSVhsv(195, 81%, 70%)
CMYKcmyk(81%, 20.1%, 0%, 29.8%)
CIE-LABlab(55.32, -17.03, -27.27)
CIE-LCHlch(55.32, 32.15, 238.01°)
OKLaboklab(60.76% -0.0745 -0.0766)
OKLCHoklch(60.76% 0.107 225.8)
XYZxyz(18.6154, 23.2374, 46.1432)
Luminance0.2324 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228FB3 #B34622
analogous
#22B38F #228FB3 #2246B3
triadic
#228FB3 #B3228F #8FB322
tetradic
#228FB3 #8F22B3 #B34622 #46B322
square
#228FB3 #8F22B3 #B34622 #46B322
split-complementary
#228FB3 #B32246 #B38F22
monochromatic
#0E3D4C #186680 #228FB3 #39B2D9 #6CC6E3

Accessibility & contrast

On white

3.72
#228FB3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#228FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228FB3
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228FB3#FFFFFF#000000##000000
##228FB31.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8CB5
Deuteranopia (green-blind)
#687FB3
Tritanopia (blue-blind)
#009A9B
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #228fb3;
/* rgb */ color: rgb(34, 143, 179);
/* oklch */ color: oklch(60.8% 0.107 225.8);
Tailwind
colors: {
  custom: {
    50: '#76b0ca',
    500: '#228fb3',
    950: '#000000',
  },
}
SCSS
$custom: #228fb3;
$custom-light: #76b0ca;
$custom-dark: #000000;
JSON
{
  "hex": "#228fb3",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 179
  },
  "hsl": {
    "h": 194.897,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.60763,
    "c": 0.10685,
    "h": 225.8
  },
  "luminance": 0.2324
}

Semantic roles & 50–950 ramp

primary
#228FB3
secondary
#C98068
accent
#683DEB
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #228FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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