#228FB2#228FB2

#228FB2 is a mid, moderate cyan. Relative luminance 0.232; OKLCH L 60.7% C 0.106 H 225.1°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#228FB2
RGBrgb(34, 143, 178)
HSLhsl(195, 68%, 42%)
HSVhsv(195, 81%, 70%)
CMYKcmyk(80.9%, 19.7%, 0%, 30.2%)
CIE-LABlab(55.27, -17.38, -26.76)
CIE-LCHlch(55.27, 31.91, 237.00°)
OKLaboklab(60.72% -0.0749 -0.0751)
OKLCHoklch(60.72% 0.106 225.1)
XYZxyz(18.5147, 23.1970, 45.6125)
Luminance0.2320 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#228FB2 #B24522
analogous
#22B28D #228FB2 #2247B2
triadic
#228FB2 #B2228F #8FB222
tetradic
#228FB2 #8D22B2 #B24522 #47B222
square
#228FB2 #8D22B2 #B24522 #47B222
split-complementary
#228FB2 #B22247 #B28D22
monochromatic
#0E3C4B #18667F #228FB2 #38B2D9 #6CC6E3

Accessibility & contrast

On white

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

On black

5.64
#228FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #228FB2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##228FB2#FFFFFF#000000##000000
##228FB21.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7C8CB4
Deuteranopia (green-blind)
#697EB2
Tritanopia (blue-blind)
#00999A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #228fb2;
/* rgb */ color: rgb(34, 143, 178);
/* oklch */ color: oklch(60.7% 0.106 225.1);
Tailwind
colors: {
  custom: {
    50: '#76b0c9',
    500: '#228fb2',
    950: '#000000',
  },
}
SCSS
$custom: #228fb2;
$custom-light: #76b0c9;
$custom-dark: #000000;
JSON
{
  "hex": "#228fb2",
  "rgb": {
    "r": 34,
    "g": 143,
    "b": 178
  },
  "hsl": {
    "h": 194.583,
    "s": 67.925,
    "l": 41.569
  },
  "oklch": {
    "l": 0.60717,
    "c": 0.10608,
    "h": 225.1
  },
  "luminance": 0.23199
}

Semantic roles & 50–950 ramp

primary
#228FB2
secondary
#C97F67
accent
#673DEB
background
#F7FAFC
surface
#EEF4F8
border
#C9CED1
text
#0A1013
muted
#7C7F82

Preview Lab

Preview with #228FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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