#228FB4#228FB4

#228FB4 is a mid, moderate cyan. Relative luminance 0.233; OKLCH L 60.8% C 0.108 H 226.5°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#228FB4
RGBrgb(34, 143, 180)
HSLhsl(195, 68%, 42%)
HSVhsv(195, 81%, 71%)
CMYKcmyk(81.1%, 20.6%, 0%, 29.4%)
CIE-LABlab(55.36, -16.68, -27.77)
CIE-LCHlch(55.36, 32.40, 239.01°)
OKLaboklab(60.81% -0.0741 -0.078)
OKLCHoklch(60.81% 0.108 226.5)
XYZxyz(18.7169, 23.2780, 46.6778)
Luminance0.2328 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228FB4 #B44722
analogous
#22B490 #228FB4 #2246B4
triadic
#228FB4 #B4228F #8FB422
tetradic
#228FB4 #9022B4 #B44722 #46B422
square
#228FB4 #9022B4 #B44722 #46B422
split-complementary
#228FB4 #B42246 #B49022
monochromatic
#0F3D4D #186681 #228FB4 #3AB1DA #6DC5E3

Accessibility & contrast

On white

3.71
#228FB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#228FB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228FB4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228FB4#FFFFFF#000000##000000
##228FB41.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B8CB6
Deuteranopia (green-blind)
#687FB4
Tritanopia (blue-blind)
#009A9B
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #228fb4;
/* rgb */ color: rgb(34, 143, 180);
/* oklch */ color: oklch(60.8% 0.108 226.5);
Tailwind
colors: {
  custom: {
    50: '#76afca',
    500: '#228fb4',
    950: '#000000',
  },
}
SCSS
$custom: #228fb4;
$custom-light: #76afca;
$custom-dark: #000000;
JSON
{
  "hex": "#228fb4",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 180
  },
  "hsl": {
    "h": 195.205,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.6081,
    "c": 0.10764,
    "h": 226.5
  },
  "luminance": 0.2328
}

Semantic roles & 50–950 ramp

primary
#228FB4
secondary
#CA8168
accent
#693DEB
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #228FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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