#2D6F8D#2D6F8D

#2D6F8D is a mid, moderate cyan. Relative luminance 0.139; OKLCH L 51.3% C 0.081 H 231.0°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#2D6F8D
RGBrgb(45, 111, 141)
HSLhsl(199, 52%, 36%)
HSVhsv(199, 68%, 55%)
CMYKcmyk(68.1%, 21.3%, 0%, 44.7%)
CIE-LABlab(44.02, -10.87, -22.57)
CIE-LCHlch(44.02, 25.05, 244.29°)
OKLaboklab(51.27% -0.0511 -0.0632)
OKLCHoklch(51.27% 0.081 231)
XYZxyz(11.5724, 13.8486, 27.2573)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6F8D #8D4B2D
analogous
#2D8D7B #2D6F8D #2D3F8D
triadic
#2D6F8D #8D2D6F #6F8D2D
tetradic
#2D6F8D #7B2D8D #8D4B2D #3F8D2D
square
#2D6F8D #7B2D8D #8D4B2D #3F8D2D
split-complementary
#2D6F8D #8D2D3F #8D7B2D
monochromatic
#0F2630 #1E4A5F #2D6F8D #3C94BB #66AECE

Accessibility & contrast

On white

5.57
#2D6F8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#2D6F8D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6F8D
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6F8D#FFFFFF#000000##FFFFFF
##2D6F8D1.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#606D8E
Deuteranopia (green-blind)
#53648D
Tritanopia (blue-blind)
#007779
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2d6f8d;
/* rgb */ color: rgb(45, 111, 141);
/* oklch */ color: oklch(51.3% 0.081 231.0);
Tailwind
colors: {
  custom: {
    50: '#7198ae',
    500: '#2d6f8d',
    950: '#000000',
  },
}
SCSS
$custom: #2d6f8d;
$custom-light: #7198ae;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6f8d",
  "rgb": {
    "r": 45,
    "g": 111,
    "b": 141
  },
  "hsl": {
    "h": 198.75,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.51273,
    "c": 0.08132,
    "h": 231
  },
  "luminance": 0.1385
}

Semantic roles & 50–950 ramp

primary
#2D6F8D
secondary
#B57B61
accent
#794DDB
background
#F7F9FA
surface
#EDF2F4
border
#C8CCCE
text
#090D10
muted
#7B7E7F

Preview Lab

Preview with #2D6F8D

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

Preview Lab → · Contrast checker → · Palette generator →

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