#2E7B9D#2E7B9D

#2E7B9D is a mid, moderate cyan. Relative luminance 0.172; OKLCH L 55.1% C 0.091 H 230.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#2E7B9D
RGBrgb(46, 123, 157)
HSLhsl(198, 55%, 40%)
HSVhsv(198, 71%, 62%)
CMYKcmyk(70.7%, 21.7%, 0%, 38.4%)
CIE-LABlab(48.49, -12.07, -25.11)
CIE-LCHlch(48.49, 27.86, 244.33°)
OKLaboklab(55.07% -0.0574 -0.0704)
OKLCHoklch(55.07% 0.091 230.8)
XYZxyz(14.2930, 17.1795, 34.4544)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E7B9D #9D502E
analogous
#2E9D87 #2E7B9D #2E449D
triadic
#2E7B9D #9D2E7B #7B9D2E
tetradic
#2E7B9D #872E9D #9D502E #449D2E
square
#2E7B9D #872E9D #9D502E #449D2E
split-complementary
#2E7B9D #9D2E44 #9D872E
monochromatic
#12313E #20566E #2E7B9D #419EC7 #70B6D5

Accessibility & contrast

On white

4.73
#2E7B9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#2E7B9D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E7B9D
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E7B9D#FFFFFF#000000##FFFFFF
##2E7B9D1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A799F
Deuteranopia (green-blind)
#5B6E9D
Tritanopia (blue-blind)
#008486
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #2e7b9d;
/* rgb */ color: rgb(46, 123, 157);
/* oklch */ color: oklch(55.1% 0.091 230.8);
Tailwind
colors: {
  custom: {
    50: '#75a1ba',
    500: '#2e7b9d',
    950: '#000000',
  },
}
SCSS
$custom: #2e7b9d;
$custom-light: #75a1ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e7b9d",
  "rgb": {
    "r": 46,
    "g": 123,
    "b": 157
  },
  "hsl": {
    "h": 198.378,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.55073,
    "c": 0.09085,
    "h": 230.8
  },
  "luminance": 0.17181
}

Semantic roles & 50–950 ramp

primary
#2E7B9D
secondary
#BD836A
accent
#774ADE
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2E7B9D

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

Preview Lab → · Contrast checker → · Palette generator →

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