#2B7FB4#2B7FB4

#2B7FB4 is a mid, moderate cyan. Relative luminance 0.190; OKLCH L 57.1% C 0.113 H 241.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#2B7FB4
RGBrgb(43, 127, 180)
HSLhsl(203, 61%, 44%)
HSVhsv(203, 76%, 71%)
CMYKcmyk(76.1%, 29.4%, 0%, 29.4%)
CIE-LABlab(50.67, -6.65, -35.07)
CIE-LCHlch(50.67, 35.69, 259.26°)
OKLaboklab(57.13% -0.055 -0.0992)
OKLCHoklch(57.13% 0.113 241)
XYZxyz(16.8206, 18.9856, 45.9493)
Luminance0.1899 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7FB4 #B4602B
analogous
#2BB4A4 #2B7FB4 #2B3AB4
triadic
#2B7FB4 #B42B7F #7FB42B
tetradic
#2B7FB4 #A42BB4 #B4602B #3AB42B
square
#2B7FB4 #A42BB4 #B4602B #3AB42B
split-complementary
#2B7FB4 #B42B3A #B4A42B
monochromatic
#133951 #1F5C83 #2B7FB4 #499ED3 #7AB8DF

Accessibility & contrast

On white

4.38
#2B7FB4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#2B7FB4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7FB4
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7FB4#FFFFFF#000000##000000
##2B7FB41.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6680B6
Deuteranopia (green-blind)
#5373B3
Tritanopia (blue-blind)
#008C92
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b7fb4;
/* rgb */ color: rgb(43, 127, 180);
/* oklch */ color: oklch(57.1% 0.113 241.0);
Tailwind
colors: {
  custom: {
    50: '#78a3ca',
    500: '#2b7fb4',
    950: '#000000',
  },
}
SCSS
$custom: #2b7fb4;
$custom-light: #78a3ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7fb4",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 180
  },
  "hsl": {
    "h": 203.212,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.57129,
    "c": 0.11345,
    "h": 241
  },
  "luminance": 0.18988
}

Semantic roles & 50–950 ramp

primary
#2B7FB4
secondary
#C79473
accent
#8243E5
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2B7FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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