#2D79B1#2D79B1

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

Color values

HEX#2D79B1
RGBrgb(45, 121, 177)
HSLhsl(205, 59%, 44%)
HSVhsv(205, 75%, 69%)
CMYKcmyk(74.6%, 31.6%, 0%, 30.6%)
CIE-LABlab(48.77, -3.94, -36.32)
CIE-LCHlch(48.77, 36.53, 263.81°)
OKLaboklab(55.59% -0.0491 -0.1029)
OKLCHoklch(55.59% 0.114 244.5)
XYZxyz(15.8523, 17.4051, 44.1105)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D79B1 #B1652D
analogous
#2DB1A7 #2D79B1 #2D37B1
triadic
#2D79B1 #B12D79 #79B12D
tetradic
#2D79B1 #A72DB1 #B1652D #37B12D
square
#2D79B1 #A72DB1 #B1652D #37B12D
split-complementary
#2D79B1 #B12D37 #B1A72D
monochromatic
#14364F #215880 #2D79B1 #4A98D1 #7BB4DD

Accessibility & contrast

On white

4.69
#2D79B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#2D79B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D79B1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D79B1#FFFFFF#000000##FFFFFF
##2D79B11.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d79b1;
/* rgb */ color: rgb(45, 121, 177);
/* oklch */ color: oklch(55.6% 0.114 244.5);
Tailwind
colors: {
  custom: {
    50: '#789fc8',
    500: '#2d79b1',
    950: '#000000',
  },
}
SCSS
$custom: #2d79b1;
$custom-light: #789fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#2d79b1",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 177
  },
  "hsl": {
    "h": 205.455,
    "s": 59.459,
    "l": 43.529
  },
  "oklch": {
    "l": 0.55591,
    "c": 0.11405,
    "h": 244.5
  },
  "luminance": 0.17407
}

Semantic roles & 50–950 ramp

primary
#2D79B1
secondary
#C69774
accent
#8845E3
background
#F7F9FC
surface
#EEF2F8
border
#C9CCD1
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2D79B1

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

Preview Lab → · Contrast checker → · Palette generator →

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