#2B79A3#2B79A3

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

Color values

HEX#2B79A3
RGBrgb(43, 121, 163)
HSLhsl(201, 58%, 40%)
HSVhsv(201, 74%, 64%)
CMYKcmyk(73.6%, 25.8%, 0%, 36.1%)
CIE-LABlab(48.05, -9.25, -29.30)
CIE-LCHlch(48.05, 30.73, 252.47°)
OKLaboklab(54.79% -0.0548 -0.0826)
OKLCHoklch(54.79% 0.099 236.4)
XYZxyz(14.4419, 16.8310, 37.1308)
Luminance0.1683 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B79A3 #A3552B
analogous
#2BA391 #2B79A3 #2B3DA3
triadic
#2B79A3 #A32B79 #79A32B
tetradic
#2B79A3 #912BA3 #A3552B #3DA32B
square
#2B79A3 #912BA3 #A3552B #3DA32B
split-complementary
#2B79A3 #A32B3D #A3912B
monochromatic
#113142 #1E5573 #2B79A3 #3F9BCC #6FB4D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B79A3#FFFFFF#000000##FFFFFF
##2B79A31.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)
#6578A5
Deuteranopia (green-blind)
#556DA2
Tritanopia (blue-blind)
#008487
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2b79a3;
/* rgb */ color: rgb(43, 121, 163);
/* oklch */ color: oklch(54.8% 0.099 236.4);
Tailwind
colors: {
  custom: {
    50: '#759fbe',
    500: '#2b79a3',
    950: '#000000',
  },
}
SCSS
$custom: #2b79a3;
$custom-light: #759fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#2b79a3",
  "rgb": {
    "r": 43,
    "g": 121,
    "b": 163
  },
  "hsl": {
    "h": 201,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.54786,
    "c": 0.0991,
    "h": 236.4
  },
  "luminance": 0.16833
}

Semantic roles & 50–950 ramp

primary
#2B79A3
secondary
#C0886A
accent
#7D46E1
background
#F7F9FB
surface
#EEF2F7
border
#C9CCD0
text
#090E12
muted
#7B7E81

Preview Lab

Preview with #2B79A3

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

Preview Lab → · Contrast checker → · Palette generator →

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