#2E79B5#2E79B5

#2E79B5 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.8% C 0.118 H 246.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#2E79B5
RGBrgb(46, 121, 181)
HSLhsl(207, 59%, 45%)
HSVhsv(207, 75%, 71%)
CMYKcmyk(74.6%, 33.1%, 0%, 29%)
CIE-LABlab(48.99, -2.35, -38.27)
CIE-LCHlch(48.99, 38.35, 266.49°)
OKLaboklab(55.85% -0.0474 -0.1086)
OKLCHoklch(55.85% 0.118 246.4)
XYZxyz(16.3014, 17.5899, 46.2432)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E79B5 #B56A2E
analogous
#2EB5AE #2E79B5 #2E35B5
triadic
#2E79B5 #B52E79 #79B52E
tetradic
#2E79B5 #AE2EB5 #B56A2E #35B52E
square
#2E79B5 #AE2EB5 #B56A2E #35B52E
split-complementary
#2E79B5 #B52E35 #B5AE2E
monochromatic
#153853 #225884 #2E79B5 #4E97D2 #7FB4DE

Accessibility & contrast

On white

4.65
#2E79B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#2E79B5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2E79B5
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E79B5#FFFFFF#000000##FFFFFF
##2E79B51.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E7BB8
Deuteranopia (green-blind)
#4A6FB4
Tritanopia (blue-blind)
#00878F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2e79b5;
/* rgb */ color: rgb(46, 121, 181);
/* oklch */ color: oklch(55.8% 0.118 246.4);
Tailwind
colors: {
  custom: {
    50: '#799fcb',
    500: '#2e79b5',
    950: '#000000',
  },
}
SCSS
$custom: #2e79b5;
$custom-light: #799fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e79b5",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 181
  },
  "hsl": {
    "h": 206.667,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55845,
    "c": 0.11849,
    "h": 246.4
  },
  "luminance": 0.17592
}

Semantic roles & 50–950 ramp

primary
#2E79B5
secondary
#C79B78
accent
#8B45E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2E79B5

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

Preview Lab → · Contrast checker → · Palette generator →

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