#2E7EB2#2E7EB2

#2E7EB2 is a mid, moderate cyan. Relative luminance 0.187; OKLCH L 56.9% C 0.111 H 241.4°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#2E7EB2
RGBrgb(46, 126, 178)
HSLhsl(204, 59%, 44%)
HSVhsv(204, 74%, 70%)
CMYKcmyk(74.2%, 29.2%, 0%, 30.2%)
CIE-LABlab(50.35, -6.40, -34.41)
CIE-LCHlch(50.35, 35.00, 259.46°)
OKLaboklab(56.87% -0.0531 -0.0973)
OKLCHoklch(56.87% 0.111 241.4)
XYZxyz(16.6203, 18.7150, 44.8473)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7EB2 #B2622E
analogous
#2EB2A4 #2E7EB2 #2E3CB2
triadic
#2E7EB2 #B22E7E #7EB22E
tetradic
#2E7EB2 #A42EB2 #B2622E #3CB22E
square
#2E7EB2 #A42EB2 #B2622E #3CB22E
split-complementary
#2E7EB2 #B22E3C #B2A42E
monochromatic
#153951 #215C81 #2E7EB2 #4C9DD1 #7DB7DD

Accessibility & contrast

On white

4.43
#2E7EB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#2E7EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7EB2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7EB2#FFFFFF#000000##000000
##2E7EB21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#667FB4
Deuteranopia (green-blind)
#5472B1
Tritanopia (blue-blind)
#008B90
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2e7eb2;
/* rgb */ color: rgb(46, 126, 178);
/* oklch */ color: oklch(56.9% 0.111 241.4);
Tailwind
colors: {
  custom: {
    50: '#79a3c9',
    500: '#2e7eb2',
    950: '#000000',
  },
}
SCSS
$custom: #2e7eb2;
$custom-light: #79a3c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7eb2",
  "rgb": {
    "r": 46,
    "g": 126,
    "b": 178
  },
  "hsl": {
    "h": 203.636,
    "s": 58.929,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56869,
    "c": 0.11084,
    "h": 241.4
  },
  "luminance": 0.18717
}

Semantic roles & 50–950 ramp

primary
#2E7EB2
secondary
#C69576
accent
#8346E2
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2E7EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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