#2D79B3#2D79B3

#2D79B3 is a mid, moderate cyan. Relative luminance 0.175; OKLCH L 55.7% C 0.116 H 245.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2D79B3
RGBrgb(45, 121, 179)
HSLhsl(206, 60%, 44%)
HSVhsv(206, 75%, 70%)
CMYKcmyk(74.9%, 32.4%, 0%, 29.8%)
CIE-LABlab(48.87, -3.21, -37.32)
CIE-LCHlch(48.87, 37.46, 265.08°)
OKLaboklab(55.7% -0.0485 -0.1058)
OKLCHoklch(55.7% 0.116 245.4)
XYZxyz(16.0531, 17.4855, 45.1681)
Luminance0.1749 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D79B3 #B3672D
analogous
#2DB3AA #2D79B3 #2D36B3
triadic
#2D79B3 #B32D79 #79B32D
tetradic
#2D79B3 #AA2DB3 #B3672D #36B32D
square
#2D79B3 #AA2DB3 #B3672D #36B32D
split-complementary
#2D79B3 #B32D36 #B3AA2D
monochromatic
#143751 #215882 #2D79B3 #4B98D2 #7CB4DE

Accessibility & contrast

On white

4.67
#2D79B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#2D79B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D79B3
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D79B3#FFFFFF#000000##FFFFFF
##2D79B31.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E7BB5
Deuteranopia (green-blind)
#4C6EB2
Tritanopia (blue-blind)
#00878E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #2d79b3;
/* rgb */ color: rgb(45, 121, 179);
/* oklch */ color: oklch(55.7% 0.116 245.4);
Tailwind
colors: {
  custom: {
    50: '#789fca',
    500: '#2d79b3',
    950: '#000000',
  },
}
SCSS
$custom: #2d79b3;
$custom-light: #789fca;
$custom-dark: #000000;
JSON
{
  "hex": "#2d79b3",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 179
  },
  "hsl": {
    "h": 205.97,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55702,
    "c": 0.11643,
    "h": 245.4
  },
  "luminance": 0.17487
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2D79B3

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

Preview Lab → · Contrast checker → · Palette generator →

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