#227EBC#227EBC

#227EBC is a mid, vivid cyan. Relative luminance 0.189; OKLCH L 57.1% C 0.126 H 243.8°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#227EBC
RGBrgb(34, 126, 188)
HSLhsl(204, 69%, 44%)
HSVhsv(204, 82%, 74%)
CMYKcmyk(81.9%, 33%, 0%, 26.3%)
CIE-LABlab(50.56, -4.11, -39.86)
CIE-LCHlch(50.56, 40.07, 264.11°)
OKLaboklab(57.11% -0.0557 -0.1133)
OKLCHoklch(57.11% 0.126 243.8)
XYZxyz(17.1941, 18.8905, 50.3072)
Luminance0.1889 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227EBC #BC6022
analogous
#22BCAD #227EBC #2231BC
triadic
#227EBC #BC227E #7EBC22
tetradic
#227EBC #AD22BC #BC6022 #31BC22
square
#227EBC #AD22BC #BC6022 #31BC22
split-complementary
#227EBC #BC2231 #BCAD22
monochromatic
#0F3954 #195B88 #227EBC #3F9DDC #73B7E6

Accessibility & contrast

On white

4.39
#227EBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#227EBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #227EBC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227EBC#FFFFFF#000000##000000
##227EBC1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6180BF
Deuteranopia (green-blind)
#4B72BB
Tritanopia (blue-blind)
#008D94
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #227ebc;
/* rgb */ color: rgb(34, 126, 188);
/* oklch */ color: oklch(57.1% 0.126 243.8);
Tailwind
colors: {
  custom: {
    50: '#77a3d0',
    500: '#227ebc',
    950: '#000000',
  },
}
SCSS
$custom: #227ebc;
$custom-light: #77a3d0;
$custom-dark: #000000;
JSON
{
  "hex": "#227ebc",
  "rgb": {
    "r": 34,
    "g": 126,
    "b": 188
  },
  "hsl": {
    "h": 204.156,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.57112,
    "c": 0.12624,
    "h": 243.8
  },
  "luminance": 0.18893
}

Semantic roles & 50–950 ramp

primary
#227EBC
secondary
#CD946D
accent
#833CEC
background
#F7FAFC
surface
#EEF3F9
border
#C9CDD2
text
#0A0F14
muted
#7C7F82

Preview Lab

Preview with #227EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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