#2D7897#2D7897

#2D7897 is a mid, moderate cyan. Relative luminance 0.162; OKLCH L 54.0% C 0.087 H 229.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#2D7897
RGBrgb(45, 120, 151)
HSLhsl(198, 54%, 38%)
HSVhsv(198, 70%, 59%)
CMYKcmyk(70.2%, 20.5%, 0%, 40.8%)
CIE-LABlab(47.27, -12.58, -23.47)
CIE-LCHlch(47.27, 26.63, 241.80°)
OKLaboklab(54.01% -0.057 -0.0658)
OKLCHoklch(54.01% 0.087 229.1)
XYZxyz(13.3823, 16.2237, 31.6984)
Luminance0.1623 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D7897 #974C2D
analogous
#2D9781 #2D7897 #2D4397
triadic
#2D7897 #972D78 #78972D
tetradic
#2D7897 #812D97 #974C2D #43972D
square
#2D7897 #812D97 #974C2D #43972D
split-complementary
#2D7897 #972D43 #97812D
monochromatic
#112D39 #1F5368 #2D7897 #3C9DC5 #6BB5D3

Accessibility & contrast

On white

4.95
#2D7897 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#2D7897 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D7897
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D7897#FFFFFF#000000##FFFFFF
##2D78971.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687699
Deuteranopia (green-blind)
#596B97
Tritanopia (blue-blind)
#008182
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2d7897;
/* rgb */ color: rgb(45, 120, 151);
/* oklch */ color: oklch(54.0% 0.087 229.1);
Tailwind
colors: {
  custom: {
    50: '#749fb5',
    500: '#2d7897',
    950: '#000000',
  },
}
SCSS
$custom: #2d7897;
$custom-light: #749fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d7897",
  "rgb": {
    "r": 45,
    "g": 120,
    "b": 151
  },
  "hsl": {
    "h": 197.547,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.54008,
    "c": 0.08707,
    "h": 229.1
  },
  "luminance": 0.16225
}

Semantic roles & 50–950 ramp

primary
#2D7897
secondary
#BA7E66
accent
#754ADD
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2D7897

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

Preview Lab → · Contrast checker → · Palette generator →

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