#2D79A5#2D79A5

#2D79A5 is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.9% C 0.100 H 238.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2D79A5
RGBrgb(45, 121, 165)
HSLhsl(202, 57%, 41%)
HSVhsv(202, 73%, 65%)
CMYKcmyk(72.7%, 26.7%, 0%, 35.3%)
CIE-LABlab(48.19, -8.26, -30.24)
CIE-LCHlch(48.19, 31.35, 254.72°)
OKLaboklab(54.95% -0.053 -0.0853)
OKLCHoklch(54.95% 0.1 238.1)
XYZxyz(14.7084, 16.9476, 38.0860)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D79A5 #A5592D
analogous
#2DA595 #2D79A5 #2D3DA5
triadic
#2D79A5 #A52D79 #79A52D
tetradic
#2D79A5 #952DA5 #A5592D #3DA52D
square
#2D79A5 #952DA5 #A5592D #3DA52D
split-complementary
#2D79A5 #A52D3D #A5952D
monochromatic
#133245 #205675 #2D79A5 #439ACC #73B4D9

Accessibility & contrast

On white

4.78
#2D79A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#2D79A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D79A5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D79A5#FFFFFF#000000##FFFFFF
##2D79A51.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6479A7
Deuteranopia (green-blind)
#546DA4
Tritanopia (blue-blind)
#008488
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d79a5;
/* rgb */ color: rgb(45, 121, 165);
/* oklch */ color: oklch(54.9% 0.100 238.1);
Tailwind
colors: {
  custom: {
    50: '#769fc0',
    500: '#2d79a5',
    950: '#000000',
  },
}
SCSS
$custom: #2d79a5;
$custom-light: #769fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d79a5",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 165
  },
  "hsl": {
    "h": 202,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5495,
    "c": 0.10039,
    "h": 238.1
  },
  "luminance": 0.16949
}

Semantic roles & 50–950 ramp

primary
#2D79A5
secondary
#C18C6D
accent
#7F47E0
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2D79A5

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

Preview Lab → · Contrast checker → · Palette generator →

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