#2E789F#2E789F

#2E789F is a mid, moderate cyan. Relative luminance 0.165; OKLCH L 54.4% C 0.094 H 235.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#2E789F
RGBrgb(46, 120, 159)
HSLhsl(201, 55%, 40%)
HSVhsv(201, 71%, 62%)
CMYKcmyk(71.1%, 24.5%, 0%, 37.6%)
CIE-LABlab(47.64, -9.65, -27.58)
CIE-LCHlch(47.64, 29.22, 250.72°)
OKLaboklab(54.43% -0.0535 -0.0776)
OKLCHoklch(54.43% 0.094 235.4)
XYZxyz(14.0987, 16.5154, 35.2389)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E789F #9F552E
analogous
#2E9F8D #2E789F #2E3F9F
triadic
#2E789F #9F2E78 #789F2E
tetradic
#2E789F #8D2E9F #9F552E #3F9F2E
square
#2E789F #8D2E9F #9F552E #3F9F2E
split-complementary
#2E789F #9F2E3F #9F8D2E
monochromatic
#133040 #205470 #2E789F #429AC8 #71B3D6

Accessibility & contrast

On white

4.88
#2E789F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#2E789F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E789F
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E789F#FFFFFF#000000##FFFFFF
##2E789F1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6577A1
Deuteranopia (green-blind)
#566C9E
Tritanopia (blue-blind)
#008285
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2e789f;
/* rgb */ color: rgb(46, 120, 159);
/* oklch */ color: oklch(54.4% 0.094 235.4);
Tailwind
colors: {
  custom: {
    50: '#759ebb',
    500: '#2e789f',
    950: '#000000',
  },
}
SCSS
$custom: #2e789f;
$custom-light: #759ebb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e789f",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 159
  },
  "hsl": {
    "h": 200.708,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.54431,
    "c": 0.09425,
    "h": 235.4
  },
  "luminance": 0.16517
}

Semantic roles & 50–950 ramp

primary
#2E789F
secondary
#BE886B
accent
#7D49DE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2E789F

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

Preview Lab → · Contrast checker → · Palette generator →

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