#2E7EB4#2E7EB4

#2E7EB4 is a mid, moderate cyan. Relative luminance 0.188; OKLCH L 57.0% C 0.113 H 242.4°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#2E7EB4
RGBrgb(46, 126, 180)
HSLhsl(204, 59%, 44%)
HSVhsv(204, 74%, 71%)
CMYKcmyk(74.4%, 30%, 0%, 29.4%)
CIE-LABlab(50.45, -5.68, -35.41)
CIE-LCHlch(50.45, 35.86, 260.88°)
OKLaboklab(56.98% -0.0525 -0.1002)
OKLCHoklch(56.98% 0.113 242.4)
XYZxyz(16.8226, 18.7959, 45.9125)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7EB4 #B4642E
analogous
#2EB4A7 #2E7EB4 #2E3BB4
triadic
#2E7EB4 #B42E7E #7EB42E
tetradic
#2E7EB4 #A72EB4 #B4642E #3BB42E
square
#2E7EB4 #A72EB4 #B4642E #3BB42E
split-complementary
#2E7EB4 #B42E3B #B4A72E
monochromatic
#153A53 #225C83 #2E7EB4 #4E9CD2 #7EB7DE

Accessibility & contrast

On white

4.41
#2E7EB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#2E7EB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7EB4
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7EB4#FFFFFF#000000##000000
##2E7EB41.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#657FB6
Deuteranopia (green-blind)
#5372B3
Tritanopia (blue-blind)
#008B91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e7eb4;
/* rgb */ color: rgb(46, 126, 180);
/* oklch */ color: oklch(57.0% 0.113 242.4);
Tailwind
colors: {
  custom: {
    50: '#79a3ca',
    500: '#2e7eb4',
    950: '#000000',
  },
}
SCSS
$custom: #2e7eb4;
$custom-light: #79a3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7eb4",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 180
  },
  "hsl": {
    "h": 204.179,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.56976,
    "c": 0.11312,
    "h": 242.4
  },
  "luminance": 0.18798
}

Semantic roles & 50–950 ramp

primary
#2E7EB4
secondary
#C79777
accent
#8545E2
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2E7EB4

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

Preview Lab → · Contrast checker → · Palette generator →

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