#227FBC#227FBC

#227FBC is a mid, vivid cyan. Relative luminance 0.192; OKLCH L 57.3% C 0.125 H 243.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#227FBC
RGBrgb(34, 127, 188)
HSLhsl(204, 69%, 44%)
HSVhsv(204, 82%, 74%)
CMYKcmyk(81.9%, 32.4%, 0%, 26.3%)
CIE-LABlab(50.86, -4.70, -39.38)
CIE-LCHlch(50.86, 39.66, 263.19°)
OKLaboklab(57.35% -0.0566 -0.1119)
OKLCHoklch(57.35% 0.125 243.2)
XYZxyz(17.3226, 19.1475, 50.3501)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227FBC #BC5F22
analogous
#22BCAC #227FBC #2232BC
triadic
#227FBC #BC227F #7FBC22
tetradic
#227FBC #AC22BC #BC5F22 #32BC22
square
#227FBC #AC22BC #BC5F22 #32BC22
split-complementary
#227FBC #BC2232 #BCAC22
monochromatic
#0F3954 #195C88 #227FBC #3F9EDC #73B8E6

Accessibility & contrast

On white

4.35
#227FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#227FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #227FBC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227FBC#FFFFFF#000000##000000
##227FBC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6281BF
Deuteranopia (green-blind)
#4D73BB
Tritanopia (blue-blind)
#008E95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #227fbc;
/* rgb */ color: rgb(34, 127, 188);
/* oklch */ color: oklch(57.3% 0.125 243.2);
Tailwind
colors: {
  custom: {
    50: '#77a3d0',
    500: '#227fbc',
    950: '#000000',
  },
}
SCSS
$custom: #227fbc;
$custom-light: #77a3d0;
$custom-dark: #000000;
JSON
{
  "hex": "#227fbc",
  "rgb": {
    "r": 34,
    "g": 127,
    "b": 188
  },
  "hsl": {
    "h": 203.766,
    "s": 69.369,
    "l": 43.529
  },
  "oklch": {
    "l": 0.57349,
    "c": 0.12539,
    "h": 243.2
  },
  "luminance": 0.1915
}

Semantic roles & 50–950 ramp

primary
#227FBC
secondary
#CD936D
accent
#823CEC
background
#F7FAFC
surface
#EEF3F9
border
#C9CDD2
text
#0A0F14
muted
#7C7F82

Preview Lab

Preview with #227FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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