#2D6795#2D6795

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

Color values

HEX#2D6795
RGBrgb(45, 103, 149)
HSLhsl(207, 54%, 38%)
HSVhsv(207, 70%, 58%)
CMYKcmyk(69.8%, 30.9%, 0%, 41.6%)
CIE-LABlab(41.89, -3.26, -30.67)
CIE-LCHlch(41.89, 30.84, 263.94°)
OKLaboklab(49.71% -0.0397 -0.0867)
OKLCHoklch(49.71% 0.095 245.4)
XYZxyz(11.3552, 12.4271, 30.2282)
Luminance0.1243 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6795 #955B2D
analogous
#2D958F #2D6795 #2D3395
triadic
#2D6795 #952D67 #67952D
tetradic
#2D6795 #8F2D95 #955B2D #33952D
square
#2D6795 #8F2D95 #955B2D #33952D
split-complementary
#2D6795 #952D33 #958F2D
monochromatic
#112637 #1F4766 #2D6795 #3B87C4 #6AA4D2

Accessibility & contrast

On white

6.02
#2D6795 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2D6795 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6795
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6795#FFFFFF#000000##FFFFFF
##2D67951.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.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: #2d6795;
/* rgb */ color: rgb(45, 103, 149);
/* oklch */ color: oklch(49.7% 0.095 245.4);
Tailwind
colors: {
  custom: {
    50: '#7292b4',
    500: '#2d6795',
    950: '#000000',
  },
}
SCSS
$custom: #2d6795;
$custom-light: #7292b4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6795",
  "rgb": {
    "r": 45,
    "g": 103,
    "b": 149
  },
  "hsl": {
    "h": 206.538,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49707,
    "c": 0.09532,
    "h": 245.4
  },
  "luminance": 0.12428
}

Semantic roles & 50–950 ramp

primary
#2D6795
secondary
#B98A65
accent
#8B4BDD
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2D6795

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

Preview Lab → · Contrast checker → · Palette generator →

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