#2E79CF#2E79CF

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

Color values

HEX#2E79CF
RGBrgb(46, 121, 207)
HSLhsl(212, 64%, 50%)
HSVhsv(212, 78%, 81%)
CMYKcmyk(77.8%, 41.5%, 0%, 18.8%)
CIE-LABlab(50.40, 7.27, -50.95)
CIE-LCHlch(50.40, 51.47, 278.12°)
OKLaboklab(57.41% -0.0407 -0.1458)
OKLCHoklch(57.41% 0.151 254.4)
XYZxyz(19.2224, 18.7583, 61.6270)
Luminance0.1876 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E79CF #CF842E
analogous
#2EC9CF #2E79CF #342ECF
triadic
#2E79CF #CF2E79 #79CF2E
tetradic
#2E79CF #CF2EC9 #CF842E #2ECF34
square
#2E79CF #CF2EC9 #CF842E #2ECF34
split-complementary
#2E79CF #CF342E #C9CF2E
monochromatic
#183E6B #235C9D #2E79CF #5F99DB #91B9E7

Accessibility & contrast

On white

4.42
#2E79CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2E79CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E79CF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E79CF#FFFFFF#000000##000000
##2E79CF1.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)
#4F80D2
Deuteranopia (green-blind)
#3271CD
Tritanopia (blue-blind)
#008D9A
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e79cf;
/* rgb */ color: rgb(46, 121, 207);
/* oklch */ color: oklch(57.4% 0.151 254.4);
Tailwind
colors: {
  custom: {
    50: '#7e9fde',
    500: '#2e79cf',
    950: '#000000',
  },
}
SCSS
$custom: #2e79cf;
$custom-light: #7e9fde;
$custom-dark: #000000;
JSON
{
  "hex": "#2e79cf",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 207
  },
  "hsl": {
    "h": 212.05,
    "s": 63.636,
    "l": 49.608
  },
  "oklch": {
    "l": 0.57406,
    "c": 0.15135,
    "h": 254.4
  },
  "luminance": 0.18761
}

Semantic roles & 50–950 ramp

primary
#2E79CF
secondary
#D1AF88
accent
#9A41E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2E79CF

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

Preview Lab → · Contrast checker → · Palette generator →

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