#2D6874#2D6874

#2D6874 is a mid, moderate cyan. Relative luminance 0.117; OKLCH L 48.3% C 0.064 H 213.0°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#2D6874
RGBrgb(45, 104, 116)
HSLhsl(190, 44%, 32%)
HSVhsv(190, 61%, 45%)
CMYKcmyk(61.2%, 10.3%, 0%, 54.5%)
CIE-LABlab(40.77, -15.24, -12.50)
CIE-LCHlch(40.77, 19.71, 219.35°)
OKLaboklab(48.34% -0.0534 -0.0346)
OKLCHoklch(48.34% 0.064 213)
XYZxyz(9.1836, 11.7186, 18.2975)
Luminance0.1172 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6874 #74392D
analogous
#2D745D #2D6874 #2D4574
triadic
#2D6874 #742D68 #68742D
tetradic
#2D6874 #5D2D74 #74392D #45742D
square
#2D6874 #5D2D74 #74392D #45742D
split-complementary
#2D6874 #742D45 #745D2D
monochromatic
#0B191C #1C4048 #2D6874 #3E90A0 #5CAFC0

Accessibility & contrast

On white

6.28
#2D6874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#2D6874 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6874
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6874#FFFFFF#000000##FFFFFF
##2D68741.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F6575
Deuteranopia (green-blind)
#545D74
Tritanopia (blue-blind)
#006D6C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2d6874;
/* rgb */ color: rgb(45, 104, 116);
/* oklch */ color: oklch(48.3% 0.064 213.0);
Tailwind
colors: {
  custom: {
    50: '#6e939c',
    500: '#2d6874',
    950: '#000000',
  },
}
SCSS
$custom: #2d6874;
$custom-light: #6e939c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6874",
  "rgb": {
    "r": 45,
    "g": 104,
    "b": 116
  },
  "hsl": {
    "h": 190.141,
    "s": 44.099,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4834,
    "c": 0.06364,
    "h": 213
  },
  "luminance": 0.11719
}

Semantic roles & 50–950 ramp

primary
#2D6874
secondary
#A56557
accent
#6A54D4
background
#F6F9F9
surface
#ECF1F2
border
#C7CBCC
text
#080D0E
muted
#7B7E7E

Preview Lab

Preview with #2D6874

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

Preview Lab → · Contrast checker → · Palette generator →

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