#2279D5#2279D5

#2279D5 is a mid, vivid cyan. Relative luminance 0.188; OKLCH L 57.5% C 0.162 H 253.8°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2279D5
RGBrgb(34, 121, 213)
HSLhsl(211, 72%, 48%)
HSVhsv(211, 84%, 84%)
CMYKcmyk(84%, 43.2%, 0%, 16.5%)
CIE-LABlab(50.47, 8.39, -54.26)
CIE-LCHlch(50.47, 54.91, 278.79°)
OKLaboklab(57.49% -0.0453 -0.1556)
OKLCHoklch(57.49% 0.162 253.8)
XYZxyz(19.5028, 18.8165, 65.5419)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2279D5 #D57E22
analogous
#22D2D5 #2279D5 #2422D5
triadic
#2279D5 #D52279 #79D522
tetradic
#2279D5 #D522D2 #D57E22 #22D524
square
#2279D5 #D522D2 #D57E22 #22D524
split-complementary
#2279D5 #D52422 #D2D522
monochromatic
#113D6B #1A5BA0 #2279D5 #5198E3 #86B7EC

Accessibility & contrast

On white

4.41
#2279D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2279D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2279D5
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2279D5#FFFFFF#000000##000000
##2279D51.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4981D9
Deuteranopia (green-blind)
#2571D3
Tritanopia (blue-blind)
#008F9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2279d5;
/* rgb */ color: rgb(34, 121, 213);
/* oklch */ color: oklch(57.5% 0.162 253.8);
Tailwind
colors: {
  custom: {
    50: '#7c9fe2',
    500: '#2279d5',
    950: '#000000',
  },
}
SCSS
$custom: #2279d5;
$custom-light: #7c9fe2;
$custom-dark: #000000;
JSON
{
  "hex": "#2279d5",
  "rgb": {
    "r": 34,
    "g": 121,
    "b": 213
  },
  "hsl": {
    "h": 210.838,
    "s": 72.47,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57492,
    "c": 0.16208,
    "h": 253.8
  },
  "luminance": 0.18819
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2279D5

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

Preview Lab → · Contrast checker → · Palette generator →

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