#2B7794#2B7794

#2B7794 is a mid, moderate cyan. Relative luminance 0.158; OKLCH L 53.6% C 0.086 H 227.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#2B7794
RGBrgb(43, 119, 148)
HSLhsl(197, 55%, 37%)
HSVhsv(197, 71%, 58%)
CMYKcmyk(70.9%, 19.6%, 0%, 42%)
CIE-LABlab(46.77, -13.36, -22.48)
CIE-LCHlch(46.77, 26.15, 239.27°)
OKLaboklab(53.55% -0.0583 -0.0629)
OKLCHoklch(53.55% 0.086 227.2)
XYZxyz(12.9362, 15.8439, 30.3876)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7794 #94482B
analogous
#2B947C #2B7794 #2B4394
triadic
#2B7794 #942B77 #77942B
tetradic
#2B7794 #7C2B94 #94482B #43942B
square
#2B7794 #7C2B94 #94482B #43942B
split-complementary
#2B7794 #942B43 #947C2B
monochromatic
#0F2B35 #1D5165 #2B7794 #399DC3 #67B5D3

Accessibility & contrast

On white

5.04
#2B7794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2B7794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7794
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7794#FFFFFF#000000##FFFFFF
##2B77941.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#687595
Deuteranopia (green-blind)
#596A94
Tritanopia (blue-blind)
#007F80
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2b7794;
/* rgb */ color: rgb(43, 119, 148);
/* oklch */ color: oklch(53.6% 0.086 227.2);
Tailwind
colors: {
  custom: {
    50: '#729eb3',
    500: '#2b7794',
    950: '#000000',
  },
}
SCSS
$custom: #2b7794;
$custom-light: #729eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7794",
  "rgb": {
    "r": 43,
    "g": 119,
    "b": 148
  },
  "hsl": {
    "h": 196.571,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.53552,
    "c": 0.08578,
    "h": 227.2
  },
  "luminance": 0.15845
}

Semantic roles & 50–950 ramp

primary
#2B7794
secondary
#B97A62
accent
#7349DE
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2B7794

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

Preview Lab → · Contrast checker → · Palette generator →

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