#2E7FA7#2E7FA7

#2E7FA7 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.5% C 0.099 H 234.0°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#2E7FA7
RGBrgb(46, 127, 167)
HSLhsl(200, 57%, 42%)
HSVhsv(200, 72%, 65%)
CMYKcmyk(72.5%, 24%, 0%, 34.5%)
CIE-LABlab(50.15, -10.87, -28.35)
CIE-LCHlch(50.15, 30.36, 249.01°)
OKLaboklab(56.55% -0.0578 -0.0797)
OKLCHoklch(56.55% 0.099 234)
XYZxyz(15.6884, 18.5478, 39.3050)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7FA7 #A7562E
analogous
#2EA793 #2E7FA7 #2E42A7
triadic
#2E7FA7 #A72E7F #7FA72E
tetradic
#2E7FA7 #932EA7 #A7562E #42A72E
square
#2E7FA7 #932EA7 #A7562E #42A72E
split-complementary
#2E7FA7 #A72E42 #A7932E
monochromatic
#143647 #215B77 #2E7FA7 #46A0CC #76B9D9

Accessibility & contrast

On white

4.46
#2E7FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#2E7FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7FA7
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7FA7#FFFFFF#000000##000000
##2E7FA71.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7EA9
Deuteranopia (green-blind)
#5B72A6
Tritanopia (blue-blind)
#008A8C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2e7fa7;
/* rgb */ color: rgb(46, 127, 167);
/* oklch */ color: oklch(56.5% 0.099 234.0);
Tailwind
colors: {
  custom: {
    50: '#77a4c1',
    500: '#2e7fa7',
    950: '#000000',
  },
}
SCSS
$custom: #2e7fa7;
$custom-light: #77a4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7fa7",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 167
  },
  "hsl": {
    "h": 199.835,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.56546,
    "c": 0.09851,
    "h": 234
  },
  "luminance": 0.1855
}

Semantic roles & 50–950 ramp

primary
#2E7FA7
secondary
#C18B70
accent
#7A48E0
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2E7FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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