#227CBC#227CBC

#227CBC is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 56.6% C 0.128 H 245.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#227CBC
RGBrgb(34, 124, 188)
HSLhsl(205, 69%, 44%)
HSVhsv(205, 82%, 74%)
CMYKcmyk(81.9%, 34%, 0%, 26.3%)
CIE-LABlab(49.96, -2.92, -40.81)
CIE-LCHlch(49.96, 40.91, 265.91°)
OKLaboklab(56.64% -0.0539 -0.1161)
OKLCHoklch(56.64% 0.128 245.1)
XYZxyz(16.9409, 18.3841, 50.2228)
Luminance0.1839 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227CBC #BC6222
analogous
#22BCAF #227CBC #222FBC
triadic
#227CBC #BC227C #7CBC22
tetradic
#227CBC #AF22BC #BC6222 #2FBC22
square
#227CBC #AF22BC #BC6222 #2FBC22
split-complementary
#227CBC #BC222F #BCAF22
monochromatic
#0F3854 #195A88 #227CBC #3F9BDC #73B6E6

Accessibility & contrast

On white

4.49
#227CBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#227CBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #227CBC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227CBC#FFFFFF#000000##000000
##227CBC1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E7EBF
Deuteranopia (green-blind)
#4871BB
Tritanopia (blue-blind)
#008C93
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #227cbc;
/* rgb */ color: rgb(34, 124, 188);
/* oklch */ color: oklch(56.6% 0.128 245.1);
Tailwind
colors: {
  custom: {
    50: '#77a1d0',
    500: '#227cbc',
    950: '#000000',
  },
}
SCSS
$custom: #227cbc;
$custom-light: #77a1d0;
$custom-dark: #000000;
JSON
{
  "hex": "#227cbc",
  "rgb": {
    "r": 34,
    "g": 124,
    "b": 188
  },
  "hsl": {
    "h": 204.935,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56638,
    "c": 0.128,
    "h": 245.1
  },
  "luminance": 0.18386
}

Semantic roles & 50–950 ramp

primary
#227CBC
secondary
#CD956D
accent
#853CEC
background
#F7F9FC
surface
#EEF2F9
border
#C9CCD2
text
#0A0E14
muted
#7C7E82

Preview Lab

Preview with #227CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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