#2B7894#2B7894

#2B7894 is a mid, moderate cyan. Relative luminance 0.161; OKLCH L 53.8% C 0.086 H 226.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#2B7894
RGBrgb(43, 120, 148)
HSLhsl(196, 55%, 37%)
HSVhsv(196, 71%, 58%)
CMYKcmyk(70.9%, 18.9%, 0%, 42%)
CIE-LABlab(47.08, -13.93, -21.99)
CIE-LCHlch(47.08, 26.03, 237.65°)
OKLaboklab(53.8% -0.0593 -0.0615)
OKLCHoklch(53.8% 0.086 226)
XYZxyz(13.0559, 16.0832, 30.4275)
Luminance0.1608 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7894 #94472B
analogous
#2B947C #2B7894 #2B4394
triadic
#2B7894 #942B78 #78942B
tetradic
#2B7894 #7C2B94 #94472B #43942B
square
#2B7894 #7C2B94 #94472B #43942B
split-complementary
#2B7894 #942B43 #947C2B
monochromatic
#0F2B35 #1D5265 #2B7894 #399EC3 #67B6D3

Accessibility & contrast

On white

4.98
#2B7894 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#2B7894 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B7894
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7894#FFFFFF#000000##FFFFFF
##2B78941.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#697695
Deuteranopia (green-blind)
#5A6B94
Tritanopia (blue-blind)
#008081
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #2b7894;
/* rgb */ color: rgb(43, 120, 148);
/* oklch */ color: oklch(53.8% 0.086 226.0);
Tailwind
colors: {
  custom: {
    50: '#729fb3',
    500: '#2b7894',
    950: '#000000',
  },
}
SCSS
$custom: #2b7894;
$custom-light: #729fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7894",
  "rgb": {
    "r": 43,
    "g": 120,
    "b": 148
  },
  "hsl": {
    "h": 196,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.53803,
    "c": 0.0855,
    "h": 226
  },
  "luminance": 0.16085
}

Semantic roles & 50–950 ramp

primary
#2B7894
secondary
#B97962
accent
#7149DE
background
#F7F9FB
surface
#EDF2F6
border
#C8CCD0
text
#090E11
muted
#7B7E80

Preview Lab

Preview with #2B7894

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

Preview Lab → · Contrast checker → · Palette generator →

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