#2E79BE#2E79BE

#2E79BE is a mid, vivid cyan. Relative luminance 0.180; OKLCH L 56.4% C 0.130 H 249.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2E79BE
RGBrgb(46, 121, 190)
HSLhsl(209, 61%, 46%)
HSVhsv(209, 76%, 75%)
CMYKcmyk(75.8%, 36.3%, 0%, 25.5%)
CIE-LABlab(49.46, 0.95, -42.73)
CIE-LCHlch(49.46, 42.74, 271.28°)
OKLaboklab(56.36% -0.0448 -0.1216)
OKLCHoklch(56.36% 0.13 249.8)
XYZxyz(17.2548, 17.9713, 51.2646)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E79BE #BE732E
analogous
#2EBEBB #2E79BE #2E31BE
triadic
#2E79BE #BE2E79 #79BE2E
tetradic
#2E79BE #BB2EBE #BE732E #31BE2E
square
#2E79BE #BB2EBE #BE732E #31BE2E
split-complementary
#2E79BE #BE2E31 #BEBB2E
monochromatic
#163A5B #225A8D #2E79BE #5497D6 #85B5E1

Accessibility & contrast

On white

4.57
#2E79BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#2E79BE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E79BE
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E79BE#FFFFFF#000000##000000
##2E79BE1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#597DC1
Deuteranopia (green-blind)
#4470BD
Tritanopia (blue-blind)
#008992
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2e79be;
/* rgb */ color: rgb(46, 121, 190);
/* oklch */ color: oklch(56.4% 0.130 249.8);
Tailwind
colors: {
  custom: {
    50: '#7b9fd2',
    500: '#2e79be',
    950: '#000000',
  },
}
SCSS
$custom: #2e79be;
$custom-light: #7b9fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e79be",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 190
  },
  "hsl": {
    "h": 208.75,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56364,
    "c": 0.12963,
    "h": 249.8
  },
  "luminance": 0.17973
}

Semantic roles & 50–950 ramp

primary
#2E79BE
secondary
#CBA27D
accent
#9144E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2E79BE

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

Preview Lab → · Contrast checker → · Palette generator →

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