#2D79BC#2D79BC

#2D79BC is a mid, vivid cyan. Relative luminance 0.179; OKLCH L 56.2% C 0.127 H 248.9°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#2D79BC
RGBrgb(45, 121, 188)
HSLhsl(208, 61%, 46%)
HSVhsv(208, 76%, 74%)
CMYKcmyk(76.1%, 35.6%, 0%, 26.3%)
CIE-LABlab(49.33, 0.09, -41.79)
CIE-LCHlch(49.33, 41.79, 270.12°)
OKLaboklab(56.22% -0.0459 -0.1189)
OKLCHoklch(56.22% 0.127 248.9)
XYZxyz(16.9932, 17.8615, 50.1192)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D79BC #BC702D
analogous
#2DBCB7 #2D79BC #2D31BC
triadic
#2D79BC #BC2D79 #79BC2D
tetradic
#2D79BC #B72DBC #BC702D #31BC2D
square
#2D79BC #B72DBC #BC702D #31BC2D
split-complementary
#2D79BC #BC2D31 #BCB72D
monochromatic
#153959 #21598B #2D79BC #5197D5 #82B5E1

Accessibility & contrast

On white

4.59
#2D79BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#2D79BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D79BC
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D79BC#FFFFFF#000000##FFFFFF
##2D79BC1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A7CBF
Deuteranopia (green-blind)
#456FBB
Tritanopia (blue-blind)
#008991
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d79bc;
/* rgb */ color: rgb(45, 121, 188);
/* oklch */ color: oklch(56.2% 0.127 248.9);
Tailwind
colors: {
  custom: {
    50: '#7a9fd0',
    500: '#2d79bc',
    950: '#000000',
  },
}
SCSS
$custom: #2d79bc;
$custom-light: #7a9fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#2d79bc",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 188
  },
  "hsl": {
    "h": 208.112,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.56217,
    "c": 0.12746,
    "h": 248.9
  },
  "luminance": 0.17863
}

Semantic roles & 50–950 ramp

primary
#2D79BC
secondary
#CAA07B
accent
#8F43E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0B0E14
muted
#7C7E82

Preview Lab

Preview with #2D79BC

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

Preview Lab → · Contrast checker → · Palette generator →

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