#2B7FA5#2B7FA5

#2B7FA5 is a mid, moderate cyan. Relative luminance 0.184; OKLCH L 56.4% C 0.098 H 232.1°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#2B7FA5
RGBrgb(43, 127, 165)
HSLhsl(199, 59%, 41%)
HSVhsv(199, 74%, 65%)
CMYKcmyk(73.9%, 23%, 0%, 35.3%)
CIE-LABlab(49.99, -11.99, -27.45)
CIE-LCHlch(49.99, 29.96, 246.40°)
OKLaboklab(56.36% -0.0602 -0.0772)
OKLCHoklch(56.36% 0.098 232.1)
XYZxyz(15.3744, 18.4072, 38.3327)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7FA5 #A5512B
analogous
#2BA58E #2B7FA5 #2B42A5
triadic
#2B7FA5 #A52B7F #7FA52B
tetradic
#2B7FA5 #8E2BA5 #A5512B #42A52B
square
#2B7FA5 #8E2BA5 #A5512B #42A52B
split-complementary
#2B7FA5 #A52B42 #A58E2B
monochromatic
#123444 #1E5A74 #2B7FA5 #40A1CD #71B9DA

Accessibility & contrast

On white

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

On black

4.68
#2B7FA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7FA5
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7FA5#FFFFFF#000000##000000
##2B7FA51.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C7EA7
Deuteranopia (green-blind)
#5B72A4
Tritanopia (blue-blind)
#00898C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b7fa5;
/* rgb */ color: rgb(43, 127, 165);
/* oklch */ color: oklch(56.4% 0.098 232.1);
Tailwind
colors: {
  custom: {
    50: '#75a4c0',
    500: '#2b7fa5',
    950: '#000000',
  },
}
SCSS
$custom: #2b7fa5;
$custom-light: #75a4c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7fa5",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 165
  },
  "hsl": {
    "h": 198.689,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.5636,
    "c": 0.09785,
    "h": 232.1
  },
  "luminance": 0.18409
}

Semantic roles & 50–950 ramp

primary
#2B7FA5
secondary
#C1866B
accent
#7746E2
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2B7FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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