#2E79B6#2E79B6

#2E79B6 is a mid, moderate cyan. Relative luminance 0.176; OKLCH L 55.9% C 0.120 H 246.9°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2E79B6
RGBrgb(46, 121, 182)
HSLhsl(207, 60%, 45%)
HSVhsv(207, 75%, 71%)
CMYKcmyk(74.7%, 33.5%, 0%, 28.6%)
CIE-LABlab(49.05, -1.99, -38.77)
CIE-LCHlch(49.05, 38.82, 267.07°)
OKLaboklab(55.9% -0.0471 -0.1101)
OKLCHoklch(55.9% 0.12 246.9)
XYZxyz(16.4044, 17.6311, 46.7855)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E79B6 #B66B2E
analogous
#2EB6AF #2E79B6 #2E35B6
triadic
#2E79B6 #B62E79 #79B62E
tetradic
#2E79B6 #AF2EB6 #B66B2E #35B62E
square
#2E79B6 #AF2EB6 #B66B2E #35B62E
split-complementary
#2E79B6 #B62E35 #B6AF2E
monochromatic
#153854 #225985 #2E79B6 #4F97D2 #80B4DF

Accessibility & contrast

On white

4.64
#2E79B6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2E79B6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2E79B6
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E79B6#FFFFFF#000000##FFFFFF
##2E79B61.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D7CB9
Deuteranopia (green-blind)
#4A6FB5
Tritanopia (blue-blind)
#00888F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2e79b6;
/* rgb */ color: rgb(46, 121, 182);
/* oklch */ color: oklch(55.9% 0.120 246.9);
Tailwind
colors: {
  custom: {
    50: '#799fcc',
    500: '#2e79b6',
    950: '#000000',
  },
}
SCSS
$custom: #2e79b6;
$custom-light: #799fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e79b6",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 182
  },
  "hsl": {
    "h": 206.912,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.55901,
    "c": 0.11971,
    "h": 246.9
  },
  "luminance": 0.17633
}

Semantic roles & 50–950 ramp

primary
#2E79B6
secondary
#C89C78
accent
#8C45E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2E79B6

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

Preview Lab → · Contrast checker → · Palette generator →

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