#2D7798#2D7798

#2D7798 is a mid, moderate cyan. Relative luminance 0.160; OKLCH L 53.8% C 0.088 H 231.0°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#2D7798
RGBrgb(45, 119, 152)
HSLhsl(199, 54%, 39%)
HSVhsv(199, 70%, 60%)
CMYKcmyk(70.4%, 21.7%, 0%, 40.4%)
CIE-LABlab(47.00, -11.67, -24.48)
CIE-LCHlch(47.00, 27.12, 244.51°)
OKLaboklab(53.81% -0.0556 -0.0687)
OKLCHoklch(53.81% 0.088 231)
XYZxyz(13.3443, 16.0171, 32.0880)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7798 #984E2D
analogous
#2D9883 #2D7798 #2D4198
triadic
#2D7798 #982D77 #77982D
tetradic
#2D7798 #832D98 #984E2D #41982D
square
#2D7798 #832D98 #984E2D #41982D
split-complementary
#2D7798 #982D41 #98832D
monochromatic
#112D3A #1F5269 #2D7798 #3D9BC5 #6CB4D3

Accessibility & contrast

On white

5.00
#2D7798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#2D7798 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7798
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7798#FFFFFF#000000##FFFFFF
##2D77981.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#66759A
Deuteranopia (green-blind)
#586B98
Tritanopia (blue-blind)
#008082
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d7798;
/* rgb */ color: rgb(45, 119, 152);
/* oklch */ color: oklch(53.8% 0.088 231.0);
Tailwind
colors: {
  custom: {
    50: '#749eb6',
    500: '#2d7798',
    950: '#000000',
  },
}
SCSS
$custom: #2d7798;
$custom-light: #749eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7798",
  "rgb": {
    "r": 45,
    "g": 119,
    "b": 152
  },
  "hsl": {
    "h": 198.505,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.53807,
    "c": 0.08835,
    "h": 231
  },
  "luminance": 0.16019
}

Semantic roles & 50–950 ramp

primary
#2D7798
secondary
#BA8066
accent
#784ADE
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2D7798

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

Preview Lab → · Contrast checker → · Palette generator →

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