#2D7895#2D7895

#2D7895 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 53.9% C 0.085 H 227.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#2D7895
RGBrgb(45, 120, 149)
HSLhsl(197, 54%, 38%)
HSVhsv(197, 70%, 58%)
CMYKcmyk(69.8%, 19.5%, 0%, 41.6%)
CIE-LABlab(47.18, -13.27, -22.42)
CIE-LCHlch(47.18, 26.06, 239.38°)
OKLaboklab(53.91% -0.0578 -0.0628)
OKLCHoklch(53.91% 0.085 227.3)
XYZxyz(13.2213, 16.1593, 30.8502)
Luminance0.1616 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7895 #954A2D
analogous
#2D957E #2D7895 #2D4495
triadic
#2D7895 #952D78 #78952D
tetradic
#2D7895 #7E2D95 #954A2D #44952D
square
#2D7895 #7E2D95 #954A2D #44952D
split-complementary
#2D7895 #952D44 #957E2D
monochromatic
#112C37 #1F5266 #2D7895 #3B9EC4 #6AB5D2

Accessibility & contrast

On white

4.96
#2D7895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#2D7895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7895
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7895#FFFFFF#000000##FFFFFF
##2D78951.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697696
Deuteranopia (green-blind)
#5A6B95
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d7895;
/* rgb */ color: rgb(45, 120, 149);
/* oklch */ color: oklch(53.9% 0.085 227.3);
Tailwind
colors: {
  custom: {
    50: '#739fb4',
    500: '#2d7895',
    950: '#000000',
  },
}
SCSS
$custom: #2d7895;
$custom-light: #739fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7895",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 149
  },
  "hsl": {
    "h": 196.731,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.53913,
    "c": 0.08533,
    "h": 227.3
  },
  "luminance": 0.16161
}

Semantic roles & 50–950 ramp

primary
#2D7895
secondary
#B97C65
accent
#744BDD
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2D7895

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

Preview Lab → · Contrast checker → · Palette generator →

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