#2E79A3#2E79A3

#2E79A3 is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.9% C 0.098 H 237.1°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2E79A3
RGBrgb(46, 121, 163)
HSLhsl(202, 56%, 41%)
HSVhsv(202, 72%, 64%)
CMYKcmyk(71.8%, 25.8%, 0%, 36.1%)
CIE-LABlab(48.13, -8.82, -29.17)
CIE-LCHlch(48.13, 30.47, 253.17°)
OKLaboklab(54.88% -0.0531 -0.0821)
OKLCHoklch(54.88% 0.098 237.1)
XYZxyz(14.5724, 16.8983, 37.1369)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E79A3 #A3582E
analogous
#2EA392 #2E79A3 #2E3FA3
triadic
#2E79A3 #A32E79 #79A32E
tetradic
#2E79A3 #922EA3 #A3582E #3FA32E
square
#2E79A3 #922EA3 #A3582E #3FA32E
split-complementary
#2E79A3 #A32E3F #A3922E
monochromatic
#133244 #215673 #2E79A3 #449ACA #74B4D8

Accessibility & contrast

On white

4.79
#2E79A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2E79A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E79A3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E79A3#FFFFFF#000000##FFFFFF
##2E79A31.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6579A5
Deuteranopia (green-blind)
#556DA2
Tritanopia (blue-blind)
#008487
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2e79a3;
/* rgb */ color: rgb(46, 121, 163);
/* oklch */ color: oklch(54.9% 0.098 237.1);
Tailwind
colors: {
  custom: {
    50: '#769fbe',
    500: '#2e79a3',
    950: '#000000',
  },
}
SCSS
$custom: #2e79a3;
$custom-light: #769fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2e79a3",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 163
  },
  "hsl": {
    "h": 201.538,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54878,
    "c": 0.09783,
    "h": 237.1
  },
  "luminance": 0.169
}

Semantic roles & 50–950 ramp

primary
#2E79A3
secondary
#BF8B6D
accent
#7F49DF
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2E79A3

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

Preview Lab → · Contrast checker → · Palette generator →

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