#228DB4#228DB4

#228DB4 is a mid, moderate cyan. Relative luminance 0.227; OKLCH L 60.3% C 0.108 H 228.2°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#228DB4
RGBrgb(34, 141, 180)
HSLhsl(196, 68%, 42%)
HSVhsv(196, 81%, 71%)
CMYKcmyk(81.1%, 21.7%, 0%, 29.4%)
CIE-LABlab(54.74, -15.59, -28.72)
CIE-LCHlch(54.74, 32.68, 241.51°)
OKLaboklab(60.32% -0.0722 -0.0808)
OKLCHoklch(60.32% 0.108 228.2)
XYZxyz(18.4194, 22.6828, 46.5786)
Luminance0.2268 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228DB4 #B44922
analogous
#22B492 #228DB4 #2244B4
triadic
#228DB4 #B4228D #8DB422
tetradic
#228DB4 #9222B4 #B44922 #44B422
square
#228DB4 #9222B4 #B44922 #44B422
split-complementary
#228DB4 #B42244 #B49222
monochromatic
#0F3C4D #186581 #228DB4 #3AAFDA #6DC4E3

Accessibility & contrast

On white

3.79
#228DB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#228DB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228DB4
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228DB4#FFFFFF#000000##000000
##228DB41.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#788BB6
Deuteranopia (green-blind)
#657DB3
Tritanopia (blue-blind)
#00989A
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #228db4;
/* rgb */ color: rgb(34, 141, 180);
/* oklch */ color: oklch(60.3% 0.108 228.2);
Tailwind
colors: {
  custom: {
    50: '#76aeca',
    500: '#228db4',
    950: '#000000',
  },
}
SCSS
$custom: #228db4;
$custom-light: #76aeca;
$custom-dark: #000000;
JSON
{
  "hex": "#228db4",
  "rgb": {
    "r": 34,
    "g": 141,
    "b": 180
  },
  "hsl": {
    "h": 196.027,
    "s": 68.224,
    "l": 41.961
  },
  "oklch": {
    "l": 0.60319,
    "c": 0.10837,
    "h": 228.2
  },
  "luminance": 0.22685
}

Semantic roles & 50–950 ramp

primary
#228DB4
secondary
#CA8268
accent
#6B3DEB
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #228DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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