#2B79E2#2B79E2

#2B79E2 is a mid, vivid cyan. Relative luminance 0.197; OKLCH L 58.6% C 0.177 H 257.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#2B79E2
RGBrgb(43, 121, 226)
HSLhsl(214, 76%, 53%)
HSVhsv(214, 81%, 89%)
CMYKcmyk(81%, 46.5%, 0%, 11.4%)
CIE-LABlab(51.47, 14.10, -59.99)
CIE-LCHlch(51.47, 61.62, 283.23°)
OKLaboklab(58.58% -0.0387 -0.1724)
OKLCHoklch(58.58% 0.177 257.3)
XYZxyz(21.5560, 19.6767, 74.5986)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B79E2 #E2942B
analogous
#2BD5E2 #2B79E2 #382BE2
triadic
#2B79E2 #E22B79 #79E22B
tetradic
#2B79E2 #E22BD5 #E2942B #2BE238
square
#2B79E2 #E22BD5 #E2942B #2BE238
split-complementary
#2B79E2 #E2382B #D5E22B
monochromatic
#124181 #195CB7 #2B79E2 #619BE9 #97BDF1

Accessibility & contrast

On white

4.25
#2B79E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#2B79E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B79E2
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B79E2#FFFFFF#000000##000000
##2B79E21.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F83E6
Deuteranopia (green-blind)
#0073E0
Tritanopia (blue-blind)
#0092A2
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2b79e2;
/* rgb */ color: rgb(43, 121, 226);
/* oklch */ color: oklch(58.6% 0.177 257.3);
Tailwind
colors: {
  custom: {
    50: '#819fec',
    500: '#2b79e2',
    950: '#000000',
  },
}
SCSS
$custom: #2b79e2;
$custom-light: #819fec;
$custom-dark: #000000;
JSON
{
  "hex": "#2b79e2",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 226
  },
  "hsl": {
    "h": 214.426,
    "s": 75.934,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58578,
    "c": 0.17666,
    "h": 257.3
  },
  "luminance": 0.19679
}

Semantic roles & 50–950 ramp

primary
#2B79E2
secondary
#DCBA8D
accent
#A235F3
background
#F8F9FE
surface
#F0F2FD
border
#CBCCD5
text
#0C0E16
muted
#7D7E84

Preview Lab

Preview with #2B79E2

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

Preview Lab → · Contrast checker → · Palette generator →

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