#2D79A2#2D79A2

#2D79A2 is a mid, moderate cyan. Relative luminance 0.168; OKLCH L 54.8% C 0.097 H 236.2°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#2D79A2
RGBrgb(45, 121, 162)
HSLhsl(201, 57%, 41%)
HSVhsv(201, 72%, 64%)
CMYKcmyk(72.2%, 25.3%, 0%, 36.5%)
CIE-LABlab(48.06, -9.32, -28.70)
CIE-LCHlch(48.06, 30.17, 252.01°)
OKLaboklab(54.8% -0.054 -0.0808)
OKLCHoklch(54.8% 0.097 236.2)
XYZxyz(14.4386, 16.8396, 36.6648)
Luminance0.1684 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D79A2 #A2562D
analogous
#2DA291 #2D79A2 #2D3EA2
triadic
#2D79A2 #A22D79 #79A22D
tetradic
#2D79A2 #912DA2 #A2562D #3EA22D
square
#2D79A2 #912DA2 #A2562D #3EA22D
split-complementary
#2D79A2 #A22D3E #A2912D
monochromatic
#123142 #205572 #2D79A2 #429BCA #72B4D8

Accessibility & contrast

On white

4.81
#2D79A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#2D79A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D79A2
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D79A2#FFFFFF#000000##FFFFFF
##2D79A21.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6578A4
Deuteranopia (green-blind)
#556DA1
Tritanopia (blue-blind)
#008487
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2d79a2;
/* rgb */ color: rgb(45, 121, 162);
/* oklch */ color: oklch(54.8% 0.097 236.2);
Tailwind
colors: {
  custom: {
    50: '#759fbd',
    500: '#2d79a2',
    950: '#000000',
  },
}
SCSS
$custom: #2d79a2;
$custom-light: #759fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d79a2",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 162
  },
  "hsl": {
    "h": 201.026,
    "s": 56.522,
    "l": 40.588
  },
  "oklch": {
    "l": 0.54796,
    "c": 0.09722,
    "h": 236.2
  },
  "luminance": 0.16841
}

Semantic roles & 50–950 ramp

primary
#2D79A2
secondary
#BF896C
accent
#7D48E0
background
#F7F9FB
surface
#EEF2F6
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2D79A2

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

Preview Lab → · Contrast checker → · Palette generator →

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