#2E7CAB#2E7CAB

#2E7CAB is a mid, moderate cyan. Relative luminance 0.179; OKLCH L 56.0% C 0.104 H 239.2°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2E7CAB
RGBrgb(46, 124, 171)
HSLhsl(203, 58%, 43%)
HSVhsv(203, 73%, 67%)
CMYKcmyk(73.1%, 27.5%, 0%, 32.9%)
CIE-LABlab(49.42, -7.73, -31.82)
CIE-LCHlch(49.42, 32.74, 256.34°)
OKLaboklab(56.02% -0.0534 -0.0898)
OKLCHoklch(56.02% 0.104 239.2)
XYZxyz(15.6822, 17.9346, 41.1554)
Luminance0.1794 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7CAB #AB5D2E
analogous
#2EAB9C #2E7CAB #2E3DAB
triadic
#2E7CAB #AB2E7C #7CAB2E
tetradic
#2E7CAB #9C2EAB #AB5D2E #3DAB2E
square
#2E7CAB #9C2EAB #AB5D2E #3DAB2E
split-complementary
#2E7CAB #AB2E3D #AB9C2E
monochromatic
#14364B #21597B #2E7CAB #489CCE #79B6DB

Accessibility & contrast

On white

4.58
#2E7CAB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#2E7CAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7CAB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7CAB#FFFFFF#000000##000000
##2E7CAB1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#667CAD
Deuteranopia (green-blind)
#5570AA
Tritanopia (blue-blind)
#00888C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2e7cab;
/* rgb */ color: rgb(46, 124, 171);
/* oklch */ color: oklch(56.0% 0.104 239.2);
Tailwind
colors: {
  custom: {
    50: '#77a1c4',
    500: '#2e7cab',
    950: '#000000',
  },
}
SCSS
$custom: #2e7cab;
$custom-light: #77a1c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7cab",
  "rgb": {
    "r": 46,
    "g": 124,
    "b": 171
  },
  "hsl": {
    "h": 202.56,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.56019,
    "c": 0.10449,
    "h": 239.2
  },
  "luminance": 0.17936
}

Semantic roles & 50–950 ramp

primary
#2E7CAB
secondary
#C39072
accent
#8147E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F12
muted
#7C7E81

Preview Lab

Preview with #2E7CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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