#2279D4#2279D4

#2279D4 is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.4% C 0.161 H 253.6°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2279D4
RGBrgb(34, 121, 212)
HSLhsl(211, 72%, 48%)
HSVhsv(211, 84%, 83%)
CMYKcmyk(84%, 42.9%, 0%, 16.9%)
CIE-LABlab(50.41, 8.01, -53.79)
CIE-LCHlch(50.41, 54.38, 278.47°)
OKLaboklab(57.43% -0.0455 -0.1542)
OKLCHoklch(57.43% 0.161 253.6)
XYZxyz(19.3762, 18.7658, 64.8755)
Luminance0.1877 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2279D4 #D47D22
analogous
#22D2D4 #2279D4 #2422D4
triadic
#2279D4 #D42279 #79D422
tetradic
#2279D4 #D422D2 #D47D22 #22D424
square
#2279D4 #D422D2 #D47D22 #22D424
split-complementary
#2279D4 #D42422 #D2D422
monochromatic
#113D6B #1A5B9F #2279D4 #5098E3 #85B7EB

Accessibility & contrast

On white

4.42
#2279D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2279D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2279D4
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2279D4#FFFFFF#000000##000000
##2279D41.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A80D8
Deuteranopia (green-blind)
#2771D2
Tritanopia (blue-blind)
#008F9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2279d4;
/* rgb */ color: rgb(34, 121, 212);
/* oklch */ color: oklch(57.4% 0.161 253.6);
Tailwind
colors: {
  custom: {
    50: '#7c9fe2',
    500: '#2279d4',
    950: '#000000',
  },
}
SCSS
$custom: #2279d4;
$custom-light: #7c9fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#2279d4",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 212
  },
  "hsl": {
    "h": 210.674,
    "s": 72.358,
    "l": 48.235
  },
  "oklch": {
    "l": 0.57426,
    "c": 0.1608,
    "h": 253.6
  },
  "luminance": 0.18768
}

Semantic roles & 50–950 ramp

primary
#2279D4
secondary
#D5AA7D
accent
#9639EF
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2279D4

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

Preview Lab → · Contrast checker → · Palette generator →

#2279D4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva