#2E79BB#2E79BB

#2E79BB is a mid, vivid cyan. Relative luminance 0.178; OKLCH L 56.2% C 0.126 H 248.7°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2E79BB
RGBrgb(46, 121, 187)
HSLhsl(208, 61%, 46%)
HSVhsv(208, 75%, 73%)
CMYKcmyk(75.4%, 35.3%, 0%, 26.7%)
CIE-LABlab(49.30, -0.15, -41.25)
CIE-LCHlch(49.30, 41.25, 269.79°)
OKLaboklab(56.19% -0.0457 -0.1173)
OKLCHoklch(56.19% 0.126 248.7)
XYZxyz(16.9303, 17.8415, 49.5555)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E79BB #BB702E
analogous
#2EBBB6 #2E79BB #2E32BB
triadic
#2E79BB #BB2E79 #79BB2E
tetradic
#2E79BB #B62EBB #BB702E #32BB2E
square
#2E79BB #B62EBB #BB702E #32BB2E
split-complementary
#2E79BB #BB2E32 #BBB62E
monochromatic
#163959 #22598A #2E79BB #5297D4 #83B5E0

Accessibility & contrast

On white

4.60
#2E79BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#2E79BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2E79BB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E79BB#FFFFFF#000000##FFFFFF
##2E79BB1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B7CBE
Deuteranopia (green-blind)
#466FBA
Tritanopia (blue-blind)
#008991
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2e79bb;
/* rgb */ color: rgb(46, 121, 187);
/* oklch */ color: oklch(56.2% 0.126 248.7);
Tailwind
colors: {
  custom: {
    50: '#7a9fd0',
    500: '#2e79bb',
    950: '#000000',
  },
}
SCSS
$custom: #2e79bb;
$custom-light: #7a9fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e79bb",
  "rgb": {
    "r": 46,
    "g": 121,
    "b": 187
  },
  "hsl": {
    "h": 208.085,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56188,
    "c": 0.12588,
    "h": 248.7
  },
  "luminance": 0.17843
}

Semantic roles & 50–950 ramp

primary
#2E79BB
secondary
#CAA07B
accent
#8F44E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2E79BB

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

Preview Lab → · Contrast checker → · Palette generator →

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