#2E7BAB#2E7BAB

#2E7BAB is a mid, moderate cyan. Relative luminance 0.177; OKLCH L 55.8% C 0.105 H 240.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2E7BAB
RGBrgb(46, 123, 171)
HSLhsl(203, 58%, 43%)
HSVhsv(203, 73%, 67%)
CMYKcmyk(73.1%, 28.1%, 0%, 32.9%)
CIE-LABlab(49.11, -7.15, -32.29)
CIE-LCHlch(49.11, 33.08, 257.52°)
OKLaboklab(55.78% -0.0524 -0.0912)
OKLCHoklch(55.78% 0.105 240.1)
XYZxyz(15.5575, 17.6853, 41.1139)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7BAB #AB5E2E
analogous
#2EAB9D #2E7BAB #2E3CAB
triadic
#2E7BAB #AB2E7B #7BAB2E
tetradic
#2E7BAB #9D2EAB #AB5E2E #3CAB2E
square
#2E7BAB #9D2EAB #AB5E2E #3CAB2E
split-complementary
#2E7BAB #AB2E3C #AB9D2E
monochromatic
#14364B #21587B #2E7BAB #489BCE #79B5DB

Accessibility & contrast

On white

4.63
#2E7BAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2E7BAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7BAB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7BAB#FFFFFF#000000##FFFFFF
##2E7BAB1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#657BAD
Deuteranopia (green-blind)
#546FAA
Tritanopia (blue-blind)
#00878C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2e7bab;
/* rgb */ color: rgb(46, 123, 171);
/* oklch */ color: oklch(55.8% 0.105 240.1);
Tailwind
colors: {
  custom: {
    50: '#77a1c4',
    500: '#2e7bab',
    950: '#000000',
  },
}
SCSS
$custom: #2e7bab;
$custom-light: #77a1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7bab",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 171
  },
  "hsl": {
    "h": 203.04,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.55778,
    "c": 0.10519,
    "h": 240.1
  },
  "luminance": 0.17687
}

Semantic roles & 50–950 ramp

primary
#2E7BAB
secondary
#C39172
accent
#8247E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2E7BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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