#2E789D#2E789D

#2E789D is a mid, moderate cyan. Relative luminance 0.164; OKLCH L 54.3% C 0.092 H 234.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2E789D
RGBrgb(46, 120, 157)
HSLhsl(200, 55%, 40%)
HSVhsv(200, 71%, 62%)
CMYKcmyk(70.7%, 23.6%, 0%, 38.4%)
CIE-LABlab(47.55, -10.35, -26.55)
CIE-LCHlch(47.55, 28.49, 248.71°)
OKLaboklab(54.33% -0.0542 -0.0746)
OKLCHoklch(54.33% 0.092 234)
XYZxyz(13.9266, 16.4466, 34.3323)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E789D #9D532E
analogous
#2E9D8B #2E789D #2E409D
triadic
#2E789D #9D2E78 #789D2E
tetradic
#2E789D #8B2E9D #9D532E #409D2E
square
#2E789D #8B2E9D #9D532E #409D2E
split-complementary
#2E789D #9D2E40 #9D8B2E
monochromatic
#12303E #20546E #2E789D #419BC7 #70B4D5

Accessibility & contrast

On white

4.90
#2E789D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2E789D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E789D
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E789D#FFFFFF#000000##FFFFFF
##2E789D1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66779F
Deuteranopia (green-blind)
#576C9C
Tritanopia (blue-blind)
#008284
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2e789d;
/* rgb */ color: rgb(46, 120, 157);
/* oklch */ color: oklch(54.3% 0.092 234.0);
Tailwind
colors: {
  custom: {
    50: '#759fba',
    500: '#2e789d',
    950: '#000000',
  },
}
SCSS
$custom: #2e789d;
$custom-light: #759fba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e789d",
  "rgb": {
    "r": 46,
    "g": 120,
    "b": 157
  },
  "hsl": {
    "h": 200,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.54331,
    "c": 0.09222,
    "h": 234
  },
  "luminance": 0.16448
}

Semantic roles & 50–950 ramp

primary
#2E789D
secondary
#BD866A
accent
#7B4ADE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2E789D

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

Preview Lab → · Contrast checker → · Palette generator →

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