#227B8D#227B8D

#227B8D is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.0% C 0.085 H 214.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#227B8D
RGBrgb(34, 123, 141)
HSLhsl(190, 61%, 34%)
HSVhsv(190, 76%, 55%)
CMYKcmyk(75.9%, 12.8%, 0%, 44.7%)
CIE-LABlab(47.53, -19.24, -17.20)
CIE-LCHlch(47.53, 25.81, 221.79°)
OKLaboklab(54.01% -0.0698 -0.0479)
OKLCHoklch(54.01% 0.085 214.5)
XYZxyz(12.5483, 16.4276, 27.7036)
Luminance0.1643 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227B8D #8D3422
analogous
#228D6A #227B8D #22468D
triadic
#227B8D #8D227B #7B8D22
tetradic
#227B8D #6A228D #8D3422 #468D22
square
#227B8D #6A228D #8D3422 #468D22
split-complementary
#227B8D #8D2246 #8D6A22
monochromatic
#0A252A #16505C #227B8D #2EA6BE #54C0D6

Accessibility & contrast

On white

4.90
#227B8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#227B8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #227B8D
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227B8D#FFFFFF#000000##FFFFFF
##227B8D1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E778E
Deuteranopia (green-blind)
#5F6C8D
Tritanopia (blue-blind)
#008281
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #227b8d;
/* rgb */ color: rgb(34, 123, 141);
/* oklch */ color: oklch(54.0% 0.085 214.5);
Tailwind
colors: {
  custom: {
    50: '#6fa1ae',
    500: '#227b8d',
    950: '#000000',
  },
}
SCSS
$custom: #227b8d;
$custom-light: #6fa1ae;
$custom-dark: #000000;
JSON
{
  "hex": "#227b8d",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 141
  },
  "hsl": {
    "h": 190.093,
    "s": 61.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.54006,
    "c": 0.08472,
    "h": 214.5
  },
  "luminance": 0.16429
}

Semantic roles & 50–950 ramp

primary
#227B8D
secondary
#B96351
accent
#5F44E4
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#080F10
muted
#7B7E7F

Preview Lab

Preview with #227B8D

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

Preview Lab → · Contrast checker → · Palette generator →

#227B8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva