#2D79C8#2D79C8

#2D79C8 is a mid, vivid cyan. Relative luminance 0.184; OKLCH L 56.9% C 0.143 H 252.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2D79C8
RGBrgb(45, 121, 200)
HSLhsl(211, 63%, 48%)
HSVhsv(211, 78%, 78%)
CMYKcmyk(77.5%, 39.5%, 0%, 21.6%)
CIE-LABlab(49.98, 4.54, -47.64)
CIE-LCHlch(49.98, 47.85, 275.45°)
OKLaboklab(56.94% -0.0429 -0.136)
OKLCHoklch(56.94% 0.143 252.5)
XYZxyz(18.3410, 18.4006, 57.2174)
Luminance0.1840 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D79C8 #C87C2D
analogous
#2DC6C8 #2D79C8 #2F2DC8
triadic
#2D79C8 #C82D79 #79C82D
tetradic
#2D79C8 #C82DC6 #C87C2D #2DC82F
square
#2D79C8 #C82DC6 #C87C2D #2DC82F
split-complementary
#2D79C8 #C82F2D #C6C82D
monochromatic
#173D64 #225B96 #2D79C8 #5998DA #8BB7E5

Accessibility & contrast

On white

4.49
#2D79C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#2D79C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D79C8
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D79C8#FFFFFF#000000##000000
##2D79C81.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#537FCB
Deuteranopia (green-blind)
#3A70C6
Tritanopia (blue-blind)
#008C97
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d79c8;
/* rgb */ color: rgb(45, 121, 200);
/* oklch */ color: oklch(56.9% 0.143 252.5);
Tailwind
colors: {
  custom: {
    50: '#7c9fd9',
    500: '#2d79c8',
    950: '#000000',
  },
}
SCSS
$custom: #2d79c8;
$custom-light: #7c9fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d79c8",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 200
  },
  "hsl": {
    "h": 210.581,
    "s": 63.265,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56938,
    "c": 0.14264,
    "h": 252.5
  },
  "luminance": 0.18403
}

Semantic roles & 50–950 ramp

primary
#2D79C8
secondary
#CFA982
accent
#9541E6
background
#F8F9FD
surface
#EFF2FA
border
#CACCD3
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2D79C8

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

Preview Lab → · Contrast checker → · Palette generator →

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