#2D6178#2D6178

#2D6178 is a mid, moderate cyan. Relative luminance 0.105; OKLCH L 46.7% C 0.067 H 229.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#2D6178
RGBrgb(45, 97, 120)
HSLhsl(198, 45%, 32%)
HSVhsv(198, 63%, 47%)
CMYKcmyk(62.5%, 19.2%, 0%, 52.9%)
CIE-LABlab(38.66, -9.87, -18.15)
CIE-LCHlch(38.66, 20.66, 241.46°)
OKLaboklab(46.71% -0.0433 -0.0506)
OKLCHoklch(46.71% 0.067 229.4)
XYZxyz(8.7457, 10.4625, 19.3242)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6178 #78442D
analogous
#2D786A #2D6178 #2D3B78
triadic
#2D6178 #782D61 #61782D
tetradic
#2D6178 #6A2D78 #78442D #3B782D
square
#2D6178 #6A2D78 #78442D #3B782D
split-complementary
#2D6178 #782D3B #786A2D
monochromatic
#0C191F #1C3D4B #2D6178 #3E85A5 #5DA3C2

Accessibility & contrast

On white

6.79
#2D6178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#2D6178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6178
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6178#FFFFFF#000000##FFFFFF
##2D61781.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555F79
Deuteranopia (green-blind)
#4B5878
Tritanopia (blue-blind)
#006769
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #2d6178;
/* rgb */ color: rgb(45, 97, 120);
/* oklch */ color: oklch(46.7% 0.067 229.4);
Tailwind
colors: {
  custom: {
    50: '#6e8e9f',
    500: '#2d6178',
    950: '#000000',
  },
}
SCSS
$custom: #2d6178;
$custom-light: #6e8e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6178",
  "rgb": {
    "r": 45,
    "g": 97,
    "b": 120
  },
  "hsl": {
    "h": 198.4,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.46709,
    "c": 0.06666,
    "h": 229.4
  },
  "luminance": 0.10463
}

Semantic roles & 50–950 ramp

primary
#2D6178
secondary
#A97158
accent
#7B53D5
background
#F6F8F9
surface
#ECF0F2
border
#C7CBCC
text
#080C0E
muted
#7B7D7E

Preview Lab

Preview with #2D6178

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

Preview Lab → · Contrast checker → · Palette generator →

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