#2E7FB4#2E7FB4

#2E7FB4 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.2% C 0.112 H 241.6°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2E7FB4
RGBrgb(46, 127, 180)
HSLhsl(204, 59%, 44%)
HSVhsv(204, 74%, 71%)
CMYKcmyk(74.4%, 29.4%, 0%, 29.4%)
CIE-LABlab(50.75, -6.27, -34.94)
CIE-LCHlch(50.75, 35.50, 259.83°)
OKLaboklab(57.21% -0.0534 -0.0988)
OKLCHoklch(57.21% 0.112 241.6)
XYZxyz(16.9511, 19.0529, 45.9554)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7FB4 #B4632E
analogous
#2EB4A6 #2E7FB4 #2E3CB4
triadic
#2E7FB4 #B42E7F #7FB42E
tetradic
#2E7FB4 #A62EB4 #B4632E #3CB42E
square
#2E7FB4 #A62EB4 #B4632E #3CB42E
split-complementary
#2E7FB4 #B42E3C #B4A62E
monochromatic
#153A53 #225D83 #2E7FB4 #4E9DD2 #7EB8DE

Accessibility & contrast

On white

4.36
#2E7FB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#2E7FB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7FB4
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7FB4#FFFFFF#000000##000000
##2E7FB41.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6680B6
Deuteranopia (green-blind)
#5473B3
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2e7fb4;
/* rgb */ color: rgb(46, 127, 180);
/* oklch */ color: oklch(57.2% 0.112 241.6);
Tailwind
colors: {
  custom: {
    50: '#79a3ca',
    500: '#2e7fb4',
    950: '#000000',
  },
}
SCSS
$custom: #2e7fb4;
$custom-light: #79a3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7fb4",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 180
  },
  "hsl": {
    "h": 203.731,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.57214,
    "c": 0.11234,
    "h": 241.6
  },
  "luminance": 0.19055
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E7FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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