#227BD4#227BD4

#227BD4 is a mid, vivid cyan. Relative luminance 0.193; OKLCH L 57.9% C 0.159 H 252.7°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#227BD4
RGBrgb(34, 123, 212)
HSLhsl(210, 72%, 48%)
HSVhsv(210, 84%, 83%)
CMYKcmyk(84%, 42%, 0%, 16.9%)
CIE-LABlab(50.99, 6.77, -52.87)
CIE-LCHlch(50.99, 53.30, 277.30°)
OKLaboklab(57.87% -0.047 -0.1515)
OKLCHoklch(57.87% 0.159 252.7)
XYZxyz(19.6218, 19.2570, 64.9574)
Luminance0.1926 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#227BD4 #D47B22
analogous
#22D4D4 #227BD4 #2222D4
triadic
#227BD4 #D4227B #7BD422
tetradic
#227BD4 #D422D4 #D47B22 #22D422
square
#227BD4 #D422D4 #D47B22 #22D422
split-complementary
#227BD4 #D42222 #D4D422
monochromatic
#113E6B #1A5C9F #227BD4 #509AE3 #85B8EB

Accessibility & contrast

On white

4.33
#227BD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#227BD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #227BD4
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##227BD4#FFFFFF#000000##000000
##227BD41.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E82D7
Deuteranopia (green-blind)
#2D72D2
Tritanopia (blue-blind)
#00909D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #227bd4;
/* rgb */ color: rgb(34, 123, 212);
/* oklch */ color: oklch(57.9% 0.159 252.7);
Tailwind
colors: {
  custom: {
    50: '#7ca0e2',
    500: '#227bd4',
    950: '#000000',
  },
}
SCSS
$custom: #227bd4;
$custom-light: #7ca0e2;
$custom-dark: #000000;
JSON
{
  "hex": "#227bd4",
  "rgb": {
    "r": 34,
    "g": 123,
    "b": 212
  },
  "hsl": {
    "h": 210,
    "s": 72.358,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57874,
    "c": 0.15862,
    "h": 252.7
  },
  "luminance": 0.19259
}

Semantic roles & 50–950 ramp

primary
#227BD4
secondary
#D5A97D
accent
#9439EF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #227BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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