#2D79B2#2D79B2

#2D79B2 is a mid, moderate cyan. Relative luminance 0.174; OKLCH L 55.6% C 0.115 H 244.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2D79B2
RGBrgb(45, 121, 178)
HSLhsl(206, 60%, 44%)
HSVhsv(206, 75%, 70%)
CMYKcmyk(74.7%, 32%, 0%, 30.2%)
CIE-LABlab(48.82, -3.58, -36.82)
CIE-LCHlch(48.82, 37.00, 264.45°)
OKLaboklab(55.65% -0.0488 -0.1044)
OKLCHoklch(55.65% 0.115 244.9)
XYZxyz(15.9524, 17.4451, 44.6374)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D79B2 #B2662D
analogous
#2DB2A8 #2D79B2 #2D37B2
triadic
#2D79B2 #B22D79 #79B22D
tetradic
#2D79B2 #A82DB2 #B2662D #37B22D
square
#2D79B2 #A82DB2 #B2662D #37B22D
split-complementary
#2D79B2 #B22D37 #B2A82D
monochromatic
#143750 #215881 #2D79B2 #4B98D1 #7CB4DE

Accessibility & contrast

On white

4.68
#2D79B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#2D79B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D79B2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D79B2#FFFFFF#000000##FFFFFF
##2D79B21.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F7BB4
Deuteranopia (green-blind)
#4C6EB1
Tritanopia (blue-blind)
#00878D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d79b2;
/* rgb */ color: rgb(45, 121, 178);
/* oklch */ color: oklch(55.6% 0.115 244.9);
Tailwind
colors: {
  custom: {
    50: '#789fc9',
    500: '#2d79b2',
    950: '#000000',
  },
}
SCSS
$custom: #2d79b2;
$custom-light: #789fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d79b2",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 178
  },
  "hsl": {
    "h": 205.714,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55647,
    "c": 0.11523,
    "h": 244.9
  },
  "luminance": 0.17447
}

Semantic roles & 50–950 ramp

primary
#2D79B2
secondary
#C69875
accent
#8945E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2D79B2

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

Preview Lab → · Contrast checker → · Palette generator →

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