#2C6795#2C6795

#2C6795 is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.7% C 0.096 H 245.1°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#2C6795
RGBrgb(44, 103, 149)
HSLhsl(206, 54%, 38%)
HSVhsv(206, 70%, 58%)
CMYKcmyk(70.5%, 30.9%, 0%, 41.6%)
CIE-LABlab(41.85, -3.42, -30.72)
CIE-LCHlch(41.85, 30.91, 263.65°)
OKLaboklab(49.67% -0.0403 -0.0869)
OKLCHoklch(49.67% 0.096 245.1)
XYZxyz(11.3117, 12.4047, 30.2261)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6795 #955A2C
analogous
#2C958E #2C6795 #2C3295
triadic
#2C6795 #952C67 #67952C
tetradic
#2C6795 #8E2C95 #955A2C #32952C
square
#2C6795 #8E2C95 #955A2C #32952C
split-complementary
#2C6795 #952C32 #958E2C
monochromatic
#102637 #1E4666 #2C6795 #3A88C4 #69A4D3

Accessibility & contrast

On white

6.03
#2C6795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#2C6795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6795
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6795#FFFFFF#000000##FFFFFF
##2C67951.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526897
Deuteranopia (green-blind)
#445E94
Tritanopia (blue-blind)
#007277
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2c6795;
/* rgb */ color: rgb(44, 103, 149);
/* oklch */ color: oklch(49.7% 0.096 245.1);
Tailwind
colors: {
  custom: {
    50: '#7292b4',
    500: '#2c6795',
    950: '#000000',
  },
}
SCSS
$custom: #2c6795;
$custom-light: #7292b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6795",
  "rgb": {
    "r": 44,
    "g": 103,
    "b": 149
  },
  "hsl": {
    "h": 206.286,
    "s": 54.404,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4967,
    "c": 0.09577,
    "h": 245.1
  },
  "luminance": 0.12406
}

Semantic roles & 50–950 ramp

primary
#2C6795
secondary
#B98964
accent
#8B4ADE
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2C6795

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

Preview Lab → · Contrast checker → · Palette generator →

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