#2E7FB6#2E7FB6

#2E7FB6 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.3% C 0.115 H 242.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2E7FB6
RGBrgb(46, 127, 182)
HSLhsl(204, 60%, 45%)
HSVhsv(204, 75%, 71%)
CMYKcmyk(74.7%, 30.2%, 0%, 28.6%)
CIE-LABlab(50.84, -5.55, -35.94)
CIE-LCHlch(50.84, 36.37, 261.22°)
OKLaboklab(57.32% -0.0528 -0.1017)
OKLCHoklch(57.32% 0.115 242.6)
XYZxyz(17.1563, 19.1350, 47.0361)
Luminance0.1914 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7FB6 #B6652E
analogous
#2EB6A9 #2E7FB6 #2E3BB6
triadic
#2E7FB6 #B62E7F #7FB62E
tetradic
#2E7FB6 #A92EB6 #B6652E #3BB62E
square
#2E7FB6 #A92EB6 #B6652E #3BB62E
split-complementary
#2E7FB6 #B62E3B #B6A92E
monochromatic
#153B54 #225D85 #2E7FB6 #4F9DD2 #80B8DF

Accessibility & contrast

On white

4.35
#2E7FB6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2E7FB6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7FB6
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7FB6#FFFFFF#000000##000000
##2E7FB61.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6680B8
Deuteranopia (green-blind)
#5373B5
Tritanopia (blue-blind)
#008D92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2e7fb6;
/* rgb */ color: rgb(46, 127, 182);
/* oklch */ color: oklch(57.3% 0.115 242.6);
Tailwind
colors: {
  custom: {
    50: '#79a3cc',
    500: '#2e7fb6',
    950: '#000000',
  },
}
SCSS
$custom: #2e7fb6;
$custom-light: #79a3cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7fb6",
  "rgb": {
    "r": 46,
    "g": 127,
    "b": 182
  },
  "hsl": {
    "h": 204.265,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.57321,
    "c": 0.11462,
    "h": 242.6
  },
  "luminance": 0.19137
}

Semantic roles & 50–950 ramp

primary
#2E7FB6
secondary
#C89878
accent
#8545E3
background
#F8FAFC
surface
#EFF3F8
border
#CACDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2E7FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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