#2D6C97#2D6C97

#2D6C97 is a mid, moderate cyan. Relative luminance 0.135; OKLCH L 51.0% C 0.094 H 241.8°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#2D6C97
RGBrgb(45, 108, 151)
HSLhsl(204, 54%, 38%)
HSVhsv(204, 70%, 59%)
CMYKcmyk(70.2%, 28.5%, 0%, 40.8%)
CIE-LABlab(43.53, -5.57, -29.28)
CIE-LCHlch(43.53, 29.81, 259.24°)
OKLaboklab(51.04% -0.0443 -0.0826)
OKLCHoklch(51.04% 0.094 241.8)
XYZxyz(12.0285, 13.5161, 31.2471)
Luminance0.1352 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6C97 #97582D
analogous
#2D978D #2D6C97 #2D3797
triadic
#2D6C97 #972D6C #6C972D
tetradic
#2D6C97 #8D2D97 #97582D #37972D
square
#2D6C97 #8D2D97 #97582D #37972D
split-complementary
#2D6C97 #972D37 #978D2D
monochromatic
#112939 #1F4A68 #2D6C97 #3C8DC5 #6BA9D3

Accessibility & contrast

On white

5.67
#2D6C97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#2D6C97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6C97
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6C97#FFFFFF#000000##FFFFFF
##2D6C971.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586D99
Deuteranopia (green-blind)
#4A6296
Tritanopia (blue-blind)
#00777B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #2d6c97;
/* rgb */ color: rgb(45, 108, 151);
/* oklch */ color: oklch(51.0% 0.094 241.8);
Tailwind
colors: {
  custom: {
    50: '#7396b6',
    500: '#2d6c97',
    950: '#000000',
  },
}
SCSS
$custom: #2d6c97;
$custom-light: #7396b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6c97",
  "rgb": {
    "r": 45,
    "g": 108,
    "b": 151
  },
  "hsl": {
    "h": 204.34,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.51038,
    "c": 0.09374,
    "h": 241.8
  },
  "luminance": 0.13517
}

Semantic roles & 50–950 ramp

primary
#2D6C97
secondary
#BA8866
accent
#864ADD
background
#F7F9FB
surface
#EDF1F6
border
#C8CBD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2D6C97

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

Preview Lab → · Contrast checker → · Palette generator →

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