#2D79CA#2D79CA

#2D79CA is a mid, vivid cyan. Relative luminance 0.185; OKLCH L 57.1% C 0.145 H 253.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2D79CA
RGBrgb(45, 121, 202)
HSLhsl(211, 64%, 48%)
HSVhsv(211, 78%, 79%)
CMYKcmyk(77.7%, 40.1%, 0%, 20.8%)
CIE-LABlab(50.09, 5.29, -48.60)
CIE-LCHlch(50.09, 48.89, 276.21°)
OKLaboklab(57.06% -0.0424 -0.1389)
OKLCHoklch(57.06% 0.145 253)
XYZxyz(18.5762, 18.4947, 58.4565)
Luminance0.1850 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D79CA #CA7E2D
analogous
#2DC7CA #2D79CA #2F2DCA
triadic
#2D79CA #CA2D79 #79CA2D
tetradic
#2D79CA #CA2DC7 #CA7E2D #2DCA2F
square
#2D79CA #CA2DC7 #CA7E2D #2DCA2F
split-complementary
#2D79CA #CA2F2D #C7CA2D
monochromatic
#173D66 #225B98 #2D79CA #5A98DA #8CB7E5

Accessibility & contrast

On white

4.47
#2D79CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#2D79CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D79CA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D79CA#FFFFFF#000000##000000
##2D79CA1.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#527FCD
Deuteranopia (green-blind)
#3871C8
Tritanopia (blue-blind)
#008C98
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2d79ca;
/* rgb */ color: rgb(45, 121, 202);
/* oklch */ color: oklch(57.1% 0.145 253.0);
Tailwind
colors: {
  custom: {
    50: '#7d9fda',
    500: '#2d79ca',
    950: '#000000',
  },
}
SCSS
$custom: #2d79ca;
$custom-light: #7d9fda;
$custom-dark: #000000;
JSON
{
  "hex": "#2d79ca",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 202
  },
  "hsl": {
    "h": 210.955,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57062,
    "c": 0.1452,
    "h": 253
  },
  "luminance": 0.18497
}

Semantic roles & 50–950 ramp

primary
#2D79CA
secondary
#CFAB83
accent
#9741E7
background
#F8F9FD
surface
#EFF2FB
border
#CACCD4
text
#0B0E15
muted
#7C7E83

Preview Lab

Preview with #2D79CA

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

Preview Lab → · Contrast checker → · Palette generator →

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