#2B7FB3#2B7FB3

#2B7FB3 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.1% C 0.112 H 240.5°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#2B7FB3
RGBrgb(43, 127, 179)
HSLhsl(203, 61%, 44%)
HSVhsv(203, 76%, 70%)
CMYKcmyk(76%, 29.1%, 0%, 29.8%)
CIE-LABlab(50.62, -7.01, -34.56)
CIE-LCHlch(50.62, 35.27, 258.53°)
OKLaboklab(57.08% -0.0553 -0.0978)
OKLCHoklch(57.08% 0.112 240.5)
XYZxyz(16.7191, 18.9450, 45.4147)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7FB3 #B35F2B
analogous
#2BB3A3 #2B7FB3 #2B3BB3
triadic
#2B7FB3 #B32B7F #7FB32B
tetradic
#2B7FB3 #A32BB3 #B35F2B #3BB32B
square
#2B7FB3 #A32BB3 #B35F2B #3BB32B
split-complementary
#2B7FB3 #B32B3B #B3A32B
monochromatic
#133950 #1F5C82 #2B7FB3 #489ED3 #79B8DF

Accessibility & contrast

On white

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

On black

4.79
#2B7FB3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7FB3
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7FB3#FFFFFF#000000##000000
##2B7FB31.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6780B5
Deuteranopia (green-blind)
#5473B2
Tritanopia (blue-blind)
#008C91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b7fb3;
/* rgb */ color: rgb(43, 127, 179);
/* oklch */ color: oklch(57.1% 0.112 240.5);
Tailwind
colors: {
  custom: {
    50: '#78a4ca',
    500: '#2b7fb3',
    950: '#000000',
  },
}
SCSS
$custom: #2b7fb3;
$custom-light: #78a4ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7fb3",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 179
  },
  "hsl": {
    "h": 202.941,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.57076,
    "c": 0.11233,
    "h": 240.5
  },
  "luminance": 0.18947
}

Semantic roles & 50–950 ramp

primary
#2B7FB3
secondary
#C79373
accent
#8143E4
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2B7FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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