#2B6797#2B6797

#2B6797 is a mid, moderate cyan. Relative luminance 0.124; OKLCH L 49.7% C 0.099 H 245.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#2B6797
RGBrgb(43, 103, 151)
HSLhsl(207, 56%, 38%)
HSVhsv(207, 72%, 59%)
CMYKcmyk(71.5%, 31.8%, 0%, 40.8%)
CIE-LABlab(41.92, -2.85, -31.82)
CIE-LCHlch(41.92, 31.94, 264.88°)
OKLaboklab(49.75% -0.0404 -0.09)
OKLCHoklch(49.75% 0.099 245.9)
XYZxyz(11.4303, 12.4472, 31.0723)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6797 #975B2B
analogous
#2B9791 #2B6797 #2B3197
triadic
#2B6797 #972B67 #67972B
tetradic
#2B6797 #912B97 #975B2B #31972B
square
#2B6797 #912B97 #975B2B #31972B
split-complementary
#2B6797 #972B31 #97912B
monochromatic
#102638 #1D4767 #2B6797 #3987C7 #68A4D4

Accessibility & contrast

On white

6.02
#2B6797 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#2B6797 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6797
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6797#FFFFFF#000000##FFFFFF
##2B67971.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516999
Deuteranopia (green-blind)
#425E96
Tritanopia (blue-blind)
#007378
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2b6797;
/* rgb */ color: rgb(43, 103, 151);
/* oklch */ color: oklch(49.7% 0.099 245.9);
Tailwind
colors: {
  custom: {
    50: '#7292b6',
    500: '#2b6797',
    950: '#000000',
  },
}
SCSS
$custom: #2b6797;
$custom-light: #7292b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6797",
  "rgb": {
    "r": 43,
    "g": 103,
    "b": 151
  },
  "hsl": {
    "h": 206.667,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.49745,
    "c": 0.09868,
    "h": 245.9
  },
  "luminance": 0.12448
}

Semantic roles & 50–950 ramp

primary
#2B6797
secondary
#BB8A63
accent
#8C49DF
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090C11
muted
#7B7D80

Preview Lab

Preview with #2B6797

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

Preview Lab → · Contrast checker → · Palette generator →

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