#2E79B8#2E79B8

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

Color values

HEX#2E79B8
RGBrgb(46, 121, 184)
HSLhsl(207, 60%, 45%)
HSVhsv(207, 75%, 72%)
CMYKcmyk(75%, 34.2%, 0%, 27.8%)
CIE-LABlab(49.15, -1.25, -39.77)
CIE-LCHlch(49.15, 39.79, 268.19°)
OKLaboklab(56.02% -0.0465 -0.113)
OKLCHoklch(56.02% 0.122 247.6)
XYZxyz(16.6125, 17.7144, 47.8818)
Luminance0.1772 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E79B8 #B86D2E
analogous
#2EB8B2 #2E79B8 #2E34B8
triadic
#2E79B8 #B82E79 #79B82E
tetradic
#2E79B8 #B22EB8 #B86D2E #34B82E
square
#2E79B8 #B22EB8 #B86D2E #34B82E
split-complementary
#2E79B8 #B82E34 #B8B22E
monochromatic
#163956 #225987 #2E79B8 #5097D3 #81B4DF

Accessibility & contrast

On white

4.62
#2E79B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2E79B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2E79B8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E79B8#FFFFFF#000000##FFFFFF
##2E79B81.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C7CBB
Deuteranopia (green-blind)
#486FB7
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2e79b8;
/* rgb */ color: rgb(46, 121, 184);
/* oklch */ color: oklch(56.0% 0.122 247.6);
Tailwind
colors: {
  custom: {
    50: '#7a9fcd',
    500: '#2e79b8',
    950: '#000000',
  },
}
SCSS
$custom: #2e79b8;
$custom-light: #7a9fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e79b8",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 184
  },
  "hsl": {
    "h": 207.391,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.56015,
    "c": 0.12216,
    "h": 247.6
  },
  "luminance": 0.17716
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E79B8

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

Preview Lab → · Contrast checker → · Palette generator →

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