#2B7FA4#2B7FA4

#2B7FA4 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.3% C 0.097 H 231.4°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#2B7FA4
RGBrgb(43, 127, 164)
HSLhsl(198, 58%, 41%)
HSVhsv(198, 74%, 64%)
CMYKcmyk(73.8%, 22.6%, 0%, 35.7%)
CIE-LABlab(49.94, -12.34, -26.94)
CIE-LCHlch(49.94, 29.63, 245.38°)
OKLaboklab(56.31% -0.0605 -0.0757)
OKLCHoklch(56.31% 0.097 231.4)
XYZxyz(15.2838, 18.3709, 37.8552)
Luminance0.1837 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7FA4 #A4502B
analogous
#2BA48C #2B7FA4 #2B42A4
triadic
#2B7FA4 #A42B7F #7FA42B
tetradic
#2B7FA4 #8C2BA4 #A4502B #42A42B
square
#2B7FA4 #8C2BA4 #A4502B #42A42B
split-complementary
#2B7FA4 #A42B42 #A48C2B
monochromatic
#123443 #1E5974 #2B7FA4 #3FA2CD #70B9D9

Accessibility & contrast

On white

4.49
#2B7FA4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.67
#2B7FA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7FA4
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7FA4#FFFFFF#000000##000000
##2B7FA41.004.494.674.67
#FFFFFF4.491.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7DA6
Deuteranopia (green-blind)
#5C72A3
Tritanopia (blue-blind)
#00898B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b7fa4;
/* rgb */ color: rgb(43, 127, 164);
/* oklch */ color: oklch(56.3% 0.097 231.4);
Tailwind
colors: {
  custom: {
    50: '#75a4bf',
    500: '#2b7fa4',
    950: '#000000',
  },
}
SCSS
$custom: #2b7fa4;
$custom-light: #75a4bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7fa4",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 164
  },
  "hsl": {
    "h": 198.347,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.56312,
    "c": 0.09692,
    "h": 231.4
  },
  "luminance": 0.18373
}

Semantic roles & 50–950 ramp

primary
#2B7FA4
secondary
#C1856A
accent
#7646E2
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2B7FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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