#2B79DD#2B79DD

#2B79DD is a mid, vivid cyan. Relative luminance 0.194; OKLCH L 58.2% C 0.170 H 256.6°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2B79DD
RGBrgb(43, 121, 221)
HSLhsl(214, 72%, 52%)
HSVhsv(214, 81%, 87%)
CMYKcmyk(80.5%, 45.2%, 0%, 13.3%)
CIE-LABlab(51.16, 12.22, -57.67)
CIE-LCHlch(51.16, 58.95, 281.96°)
OKLaboklab(58.24% -0.0396 -0.1656)
OKLCHoklch(58.24% 0.17 256.6)
XYZxyz(20.8799, 19.4062, 71.0379)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B79DD #DD8F2B
analogous
#2BD2DD #2B79DD #362BDD
triadic
#2B79DD #DD2B79 #79DD2B
tetradic
#2B79DD #DD2BD2 #DD8F2B #2BDD36
square
#2B79DD #DD2BD2 #DD8F2B #2BDD36
split-complementary
#2B79DD #DD362B #D2DD2B
monochromatic
#14407A #1C5CAF #2B79DD #609AE5 #94BCEE

Accessibility & contrast

On white

4.30
#2B79DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#2B79DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B79DD
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B79DD#FFFFFF#000000##000000
##2B79DD1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4382E1
Deuteranopia (green-blind)
#1772DB
Tritanopia (blue-blind)
#0091A0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2b79dd;
/* rgb */ color: rgb(43, 121, 221);
/* oklch */ color: oklch(58.2% 0.170 256.6);
Tailwind
colors: {
  custom: {
    50: '#809fe8',
    500: '#2b79dd',
    950: '#000000',
  },
}
SCSS
$custom: #2b79dd;
$custom-light: #809fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#2b79dd",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 221
  },
  "hsl": {
    "h": 213.708,
    "s": 72.358,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58239,
    "c": 0.17022,
    "h": 256.6
  },
  "luminance": 0.19409
}

Semantic roles & 50–950 ramp

primary
#2B79DD
secondary
#D9B78B
accent
#9F39EF
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #2B79DD

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

Preview Lab → · Contrast checker → · Palette generator →

#2B79DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva