#2D6D97#2D6D97

#2D6D97 is a mid, moderate cyan. Relative luminance 0.137; OKLCH L 51.3% C 0.093 H 240.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#2D6D97
RGBrgb(45, 109, 151)
HSLhsl(204, 54%, 38%)
HSVhsv(204, 70%, 59%)
CMYKcmyk(70.2%, 27.8%, 0%, 40.8%)
CIE-LABlab(43.84, -6.17, -28.80)
CIE-LCHlch(43.84, 29.45, 257.91°)
OKLaboklab(51.28% -0.0453 -0.0812)
OKLCHoklch(51.28% 0.093 240.8)
XYZxyz(12.1346, 13.7282, 31.2825)
Luminance0.1373 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6D97 #97572D
analogous
#2D978C #2D6D97 #2D3897
triadic
#2D6D97 #972D6D #6D972D
tetradic
#2D6D97 #8C2D97 #97572D #38972D
square
#2D6D97 #8C2D97 #97572D #38972D
split-complementary
#2D6D97 #972D38 #978C2D
monochromatic
#112939 #1F4B68 #2D6D97 #3C8FC5 #6BAAD3

Accessibility & contrast

On white

5.61
#2D6D97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#2D6D97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6D97
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6D97#FFFFFF#000000##FFFFFF
##2D6D971.005.613.755.61
#FFFFFF5.611.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6D99
Deuteranopia (green-blind)
#4B6396
Tritanopia (blue-blind)
#00777C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #2d6d97;
/* rgb */ color: rgb(45, 109, 151);
/* oklch */ color: oklch(51.3% 0.093 240.8);
Tailwind
colors: {
  custom: {
    50: '#7396b5',
    500: '#2d6d97',
    950: '#000000',
  },
}
SCSS
$custom: #2d6d97;
$custom-light: #7396b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6d97",
  "rgb": {
    "r": 45,
    "g": 109,
    "b": 151
  },
  "hsl": {
    "h": 203.774,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.51283,
    "c": 0.09301,
    "h": 240.8
  },
  "luminance": 0.1373
}

Semantic roles & 50–950 ramp

primary
#2D6D97
secondary
#BA8766
accent
#854ADD
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090D11
muted
#7B7E80

Preview Lab

Preview with #2D6D97

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

Preview Lab → · Contrast checker → · Palette generator →

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