#2D79A4#2D79A4

#2D79A4 is a mid, moderate cyan. Relative luminance 0.169; OKLCH L 54.9% C 0.099 H 237.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2D79A4
RGBrgb(45, 121, 164)
HSLhsl(202, 57%, 41%)
HSVhsv(202, 73%, 64%)
CMYKcmyk(72.6%, 26.2%, 0%, 35.7%)
CIE-LABlab(48.15, -8.61, -29.73)
CIE-LCHlch(48.15, 30.95, 253.84°)
OKLaboklab(54.9% -0.0533 -0.0838)
OKLCHoklch(54.9% 0.099 237.5)
XYZxyz(14.6178, 16.9113, 37.6086)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D79A4 #A4582D
analogous
#2DA493 #2D79A4 #2D3DA4
triadic
#2D79A4 #A42D79 #79A42D
tetradic
#2D79A4 #932DA4 #A4582D #3DA42D
square
#2D79A4 #932DA4 #A4582D #3DA42D
split-complementary
#2D79A4 #A42D3D #A4932D
monochromatic
#133244 #205674 #2D79A4 #439ACB #73B4D9

Accessibility & contrast

On white

4.79
#2D79A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#2D79A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D79A4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D79A4#FFFFFF#000000##FFFFFF
##2D79A41.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6579A6
Deuteranopia (green-blind)
#546DA3
Tritanopia (blue-blind)
#008488
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d79a4;
/* rgb */ color: rgb(45, 121, 164);
/* oklch */ color: oklch(54.9% 0.099 237.5);
Tailwind
colors: {
  custom: {
    50: '#769fbf',
    500: '#2d79a4',
    950: '#000000',
  },
}
SCSS
$custom: #2d79a4;
$custom-light: #769fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#2d79a4",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 164
  },
  "hsl": {
    "h": 201.681,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.54898,
    "c": 0.09932,
    "h": 237.5
  },
  "luminance": 0.16913
}

Semantic roles & 50–950 ramp

primary
#2D79A4
secondary
#C08B6D
accent
#7F48E0
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#0A0E12
muted
#7C7E81

Preview Lab

Preview with #2D79A4

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

Preview Lab → · Contrast checker → · Palette generator →

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