#2E7CAC#2E7CAC

#2E7CAC is a mid, moderate cyan. Relative luminance 0.180; OKLCH L 56.1% C 0.106 H 239.8°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#2E7CAC
RGBrgb(46, 124, 172)
HSLhsl(203, 58%, 43%)
HSVhsv(203, 73%, 67%)
CMYKcmyk(73.3%, 27.9%, 0%, 32.5%)
CIE-LABlab(49.46, -7.38, -32.33)
CIE-LCHlch(49.46, 33.16, 257.15°)
OKLaboklab(56.07% -0.0531 -0.0913)
OKLCHoklch(56.07% 0.106 239.8)
XYZxyz(15.7779, 17.9729, 41.6593)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7CAC #AC5E2E
analogous
#2EAC9D #2E7CAC #2E3DAC
triadic
#2E7CAC #AC2E7C #7CAC2E
tetradic
#2E7CAC #9D2EAC #AC5E2E #3DAC2E
square
#2E7CAC #9D2EAC #AC5E2E #3DAC2E
split-complementary
#2E7CAC #AC2E3D #AC9D2E
monochromatic
#14364B #21597C #2E7CAC #499BCE #79B6DB

Accessibility & contrast

On white

4.57
#2E7CAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#2E7CAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2E7CAC
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7CAC#FFFFFF#000000##000000
##2E7CAC1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#667CAE
Deuteranopia (green-blind)
#5470AB
Tritanopia (blue-blind)
#00888D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #2e7cac;
/* rgb */ color: rgb(46, 124, 172);
/* oklch */ color: oklch(56.1% 0.106 239.8);
Tailwind
colors: {
  custom: {
    50: '#77a1c5',
    500: '#2e7cac',
    950: '#000000',
  },
}
SCSS
$custom: #2e7cac;
$custom-light: #77a1c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7cac",
  "rgb": {
    "r": 46,
    "g": 124,
    "b": 172
  },
  "hsl": {
    "h": 202.857,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.56071,
    "c": 0.10559,
    "h": 239.8
  },
  "luminance": 0.17975
}

Semantic roles & 50–950 ramp

primary
#2E7CAC
secondary
#C39172
accent
#8247E1
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0F13
muted
#7C7E82

Preview Lab

Preview with #2E7CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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