#2D79B8#2D79B8

#2D79B8 is a mid, vivid cyan. Relative luminance 0.177; OKLCH L 56.0% C 0.123 H 247.4°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#2D79B8
RGBrgb(45, 121, 184)
HSLhsl(207, 61%, 45%)
HSVhsv(207, 76%, 72%)
CMYKcmyk(75.5%, 34.2%, 0%, 27.8%)
CIE-LABlab(49.12, -1.38, -39.81)
CIE-LCHlch(49.12, 39.84, 268.01°)
OKLaboklab(55.99% -0.047 -0.1131)
OKLCHoklch(55.99% 0.123 247.4)
XYZxyz(16.5680, 17.6914, 47.8797)
Luminance0.1769 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D79B8 #B86C2D
analogous
#2DB8B1 #2D79B8 #2D34B8
triadic
#2D79B8 #B82D79 #79B82D
tetradic
#2D79B8 #B12DB8 #B86C2D #34B82D
square
#2D79B8 #B12DB8 #B86C2D #34B82D
split-complementary
#2D79B8 #B82D34 #B8B12D
monochromatic
#153856 #215987 #2D79B8 #4E97D4 #80B4E0

Accessibility & contrast

On white

4.63
#2D79B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#2D79B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2D79B8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D79B8#FFFFFF#000000##FFFFFF
##2D79B81.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C7CBB
Deuteranopia (green-blind)
#486FB7
Tritanopia (blue-blind)
#008890
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #2d79b8;
/* rgb */ color: rgb(45, 121, 184);
/* oklch */ color: oklch(56.0% 0.123 247.4);
Tailwind
colors: {
  custom: {
    50: '#799fcd',
    500: '#2d79b8',
    950: '#000000',
  },
}
SCSS
$custom: #2d79b8;
$custom-light: #799fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d79b8",
  "rgb": {
    "r": 45,
    "g": 121,
    "b": 184
  },
  "hsl": {
    "h": 207.194,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55985,
    "c": 0.12251,
    "h": 247.4
  },
  "luminance": 0.17693
}

Semantic roles & 50–950 ramp

primary
#2D79B8
secondary
#C99D78
accent
#8C44E4
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2D79B8

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

Preview Lab → · Contrast checker → · Palette generator →

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