#2E79B9#2E79B9

#2E79B9 is a mid, vivid cyan. Relative luminance 0.178; OKLCH L 56.1% C 0.123 H 248.0°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#2E79B9
RGBrgb(46, 121, 185)
HSLhsl(208, 60%, 45%)
HSVhsv(208, 75%, 73%)
CMYKcmyk(75.1%, 34.6%, 0%, 27.5%)
CIE-LABlab(49.20, -0.89, -40.26)
CIE-LCHlch(49.20, 40.27, 268.74°)
OKLaboklab(56.07% -0.0462 -0.1144)
OKLCHoklch(56.07% 0.123 248)
XYZxyz(16.7177, 17.7564, 48.4358)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E79B9 #B96E2E
analogous
#2EB9B3 #2E79B9 #2E33B9
triadic
#2E79B9 #B92E79 #79B92E
tetradic
#2E79B9 #B32EB9 #B96E2E #33B92E
square
#2E79B9 #B32EB9 #B96E2E #33B92E
split-complementary
#2E79B9 #B92E33 #B9B32E
monochromatic
#163957 #225988 #2E79B9 #5197D4 #82B4E0

Accessibility & contrast

On white

4.61
#2E79B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#2E79B9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2E79B9
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E79B9#FFFFFF#000000##FFFFFF
##2E79B91.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e79b9;
/* rgb */ color: rgb(46, 121, 185);
/* oklch */ color: oklch(56.1% 0.123 248.0);
Tailwind
colors: {
  custom: {
    50: '#7a9fce',
    500: '#2e79b9',
    950: '#000000',
  },
}
SCSS
$custom: #2e79b9;
$custom-light: #7a9fce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e79b9",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 185
  },
  "hsl": {
    "h": 207.626,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.56073,
    "c": 0.1234,
    "h": 248
  },
  "luminance": 0.17758
}

Semantic roles & 50–950 ramp

primary
#2E79B9
secondary
#C99E7A
accent
#8E44E3
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2E79B9

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

Preview Lab → · Contrast checker → · Palette generator →

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