#2B7FA7#2B7FA7

#2B7FA7 is a mid, moderate cyan. Relative luminance 0.185; OKLCH L 56.5% C 0.100 H 233.4°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#2B7FA7
RGBrgb(43, 127, 167)
HSLhsl(199, 59%, 41%)
HSVhsv(199, 74%, 65%)
CMYKcmyk(74.3%, 24%, 0%, 34.5%)
CIE-LABlab(50.07, -11.29, -28.48)
CIE-LCHlch(50.07, 30.63, 248.37°)
OKLaboklab(56.46% -0.0594 -0.0801)
OKLCHoklch(56.46% 0.1 233.4)
XYZxyz(15.5579, 18.4806, 39.2989)
Luminance0.1848 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7FA7 #A7532B
analogous
#2BA791 #2B7FA7 #2B41A7
triadic
#2B7FA7 #A72B7F #7FA72B
tetradic
#2B7FA7 #912BA7 #A7532B #41A72B
square
#2B7FA7 #912BA7 #A7532B #41A72B
split-complementary
#2B7FA7 #A72B41 #A7912B
monochromatic
#123546 #1E5A76 #2B7FA7 #41A1CE #72B9DB

Accessibility & contrast

On white

4.47
#2B7FA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#2B7FA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7FA7
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7FA7#FFFFFF#000000##000000
##2B7FA71.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7EA9
Deuteranopia (green-blind)
#5B72A6
Tritanopia (blue-blind)
#008A8C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b7fa7;
/* rgb */ color: rgb(43, 127, 167);
/* oklch */ color: oklch(56.5% 0.100 233.4);
Tailwind
colors: {
  custom: {
    50: '#76a4c1',
    500: '#2b7fa7',
    950: '#000000',
  },
}
SCSS
$custom: #2b7fa7;
$custom-light: #76a4c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7fa7",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 167
  },
  "hsl": {
    "h": 199.355,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.56459,
    "c": 0.09977,
    "h": 233.4
  },
  "luminance": 0.18482
}

Semantic roles & 50–950 ramp

primary
#2B7FA7
secondary
#C2886C
accent
#7846E2
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2B7FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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