#2B79B8#2B79B8

#2B79B8 is a mid, vivid cyan. Relative luminance 0.176; OKLCH L 55.9% C 0.123 H 247.0°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#2B79B8
RGBrgb(43, 121, 184)
HSLhsl(207, 62%, 45%)
HSVhsv(207, 77%, 72%)
CMYKcmyk(76.6%, 34.2%, 0%, 27.8%)
CIE-LABlab(49.07, -1.63, -39.90)
CIE-LCHlch(49.07, 39.94, 267.66°)
OKLaboklab(55.93% -0.0481 -0.1134)
OKLCHoklch(55.93% 0.123 247)
XYZxyz(16.4820, 17.6471, 47.8757)
Luminance0.1765 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B79B8 #B86A2B
analogous
#2BB8B1 #2B79B8 #2B32B8
triadic
#2B79B8 #B82B79 #79B82B
tetradic
#2B79B8 #B12BB8 #B86A2B #32B82B
square
#2B79B8 #B12BB8 #B86A2B #32B82B
split-complementary
#2B79B8 #B82B32 #B8B12B
monochromatic
#143855 #1F5886 #2B79B8 #4B97D5 #7DB4E1

Accessibility & contrast

On white

4.64
#2B79B8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#2B79B8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #2B79B8
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B79B8#FFFFFF#000000##FFFFFF
##2B79B81.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.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: #2b79b8;
/* rgb */ color: rgb(43, 121, 184);
/* oklch */ color: oklch(55.9% 0.123 247.0);
Tailwind
colors: {
  custom: {
    50: '#799fcd',
    500: '#2b79b8',
    950: '#000000',
  },
}
SCSS
$custom: #2b79b8;
$custom-light: #799fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b79b8",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 184
  },
  "hsl": {
    "h": 206.809,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55927,
    "c": 0.12319,
    "h": 247
  },
  "luminance": 0.17649
}

Semantic roles & 50–950 ramp

primary
#2B79B8
secondary
#C99B76
accent
#8B43E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0E13
muted
#7C7E82

Preview Lab

Preview with #2B79B8

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

Preview Lab → · Contrast checker → · Palette generator →

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