#2E79A2#2E79A2

#2E79A2 is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.8% C 0.097 H 236.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2E79A2
RGBrgb(46, 121, 162)
HSLhsl(201, 56%, 41%)
HSVhsv(201, 72%, 64%)
CMYKcmyk(71.6%, 25.3%, 0%, 36.5%)
CIE-LABlab(48.09, -9.17, -28.65)
CIE-LCHlch(48.09, 30.08, 252.25°)
OKLaboklab(54.83% -0.0535 -0.0807)
OKLCHoklch(54.83% 0.097 236.5)
XYZxyz(14.4831, 16.8626, 36.6669)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E79A2 #A2572E
analogous
#2EA291 #2E79A2 #2E3FA2
triadic
#2E79A2 #A22E79 #79A22E
tetradic
#2E79A2 #912EA2 #A2572E #3FA22E
square
#2E79A2 #912EA2 #A2572E #3FA22E
split-complementary
#2E79A2 #A22E3F #A2912E
monochromatic
#133243 #205572 #2E79A2 #439ACA #73B4D7

Accessibility & contrast

On white

4.80
#2E79A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2E79A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E79A2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E79A2#FFFFFF#000000##FFFFFF
##2E79A21.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6578A4
Deuteranopia (green-blind)
#566DA1
Tritanopia (blue-blind)
#008487
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2e79a2;
/* rgb */ color: rgb(46, 121, 162);
/* oklch */ color: oklch(54.8% 0.097 236.5);
Tailwind
colors: {
  custom: {
    50: '#769fbd',
    500: '#2e79a2',
    950: '#000000',
  },
}
SCSS
$custom: #2e79a2;
$custom-light: #769fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e79a2",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 162
  },
  "hsl": {
    "h": 201.207,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.54828,
    "c": 0.09677,
    "h": 236.5
  },
  "luminance": 0.16864
}

Semantic roles & 50–950 ramp

primary
#2E79A2
secondary
#BF8A6D
accent
#7E49DF
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2E79A2

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

Preview Lab → · Contrast checker → · Palette generator →

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