#2E79B7#2E79B7

#2E79B7 is a mid, vivid cyan. Relative luminance 0.177; OKLCH L 56.0% C 0.121 H 247.2°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2E79B7
RGBrgb(46, 121, 183)
HSLhsl(207, 60%, 45%)
HSVhsv(207, 75%, 72%)
CMYKcmyk(74.9%, 33.9%, 0%, 28.2%)
CIE-LABlab(49.10, -1.62, -39.27)
CIE-LCHlch(49.10, 39.30, 267.64°)
OKLaboklab(55.96% -0.0468 -0.1115)
OKLCHoklch(55.96% 0.121 247.2)
XYZxyz(16.5081, 17.6726, 47.3317)
Luminance0.1767 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E79B7 #B76C2E
analogous
#2EB7B0 #2E79B7 #2E35B7
triadic
#2E79B7 #B72E79 #79B72E
tetradic
#2E79B7 #B02EB7 #B76C2E #35B72E
square
#2E79B7 #B02EB7 #B76C2E #35B72E
split-complementary
#2E79B7 #B72E35 #B7B02E
monochromatic
#153855 #225986 #2E79B7 #4F97D3 #80B4DF

Accessibility & contrast

On white

4.63
#2E79B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E79B7
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E79B7#FFFFFF#000000##FFFFFF
##2E79B71.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D7CBA
Deuteranopia (green-blind)
#496FB6
Tritanopia (blue-blind)
#00888F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2e79b7;
/* rgb */ color: rgb(46, 121, 183);
/* oklch */ color: oklch(56.0% 0.121 247.2);
Tailwind
colors: {
  custom: {
    50: '#799fcd',
    500: '#2e79b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e79b7;
$custom-light: #799fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e79b7",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 183
  },
  "hsl": {
    "h": 207.153,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55958,
    "c": 0.12093,
    "h": 247.2
  },
  "luminance": 0.17674
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E79B7

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

Preview Lab → · Contrast checker → · Palette generator →

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