#2B7FA8#2B7FA8

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

Color values

HEX#2B7FA8
RGBrgb(43, 127, 168)
HSLhsl(200, 59%, 41%)
HSVhsv(200, 74%, 66%)
CMYKcmyk(74.4%, 24.4%, 0%, 34.1%)
CIE-LABlab(50.12, -10.94, -28.99)
CIE-LCHlch(50.12, 30.98, 249.33°)
OKLaboklab(56.51% -0.0591 -0.0816)
OKLCHoklch(56.51% 0.101 234.1)
XYZxyz(15.6507, 18.5177, 39.7876)
Luminance0.1852 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7FA8 #A8542B
analogous
#2BA893 #2B7FA8 #2B41A8
triadic
#2B7FA8 #A82B7F #7FA82B
tetradic
#2B7FA8 #932BA8 #A8542B #41A82B
square
#2B7FA8 #932BA8 #A8542B #41A82B
split-complementary
#2B7FA8 #A82B41 #A8932B
monochromatic
#123547 #1F5A77 #2B7FA8 #42A0CF #72B9DB

Accessibility & contrast

On white

4.46
#2B7FA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B7FA8#FFFFFF#000000##000000
##2B7FA81.004.464.704.70
#FFFFFF4.461.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7EAA
Deuteranopia (green-blind)
#5A72A7
Tritanopia (blue-blind)
#008A8D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #2b7fa8;
/* rgb */ color: rgb(43, 127, 168);
/* oklch */ color: oklch(56.5% 0.101 234.1);
Tailwind
colors: {
  custom: {
    50: '#76a4c2',
    500: '#2b7fa8',
    950: '#000000',
  },
}
SCSS
$custom: #2b7fa8;
$custom-light: #76a4c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7fa8",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 168
  },
  "hsl": {
    "h": 199.68,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.56509,
    "c": 0.10075,
    "h": 234.1
  },
  "luminance": 0.18519
}

Semantic roles & 50–950 ramp

primary
#2B7FA8
secondary
#C2896C
accent
#7945E2
background
#F7FAFB
surface
#EEF4F7
border
#C9CED0
text
#0A0F12
muted
#7C7F81

Preview Lab

Preview with #2B7FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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