#2B7FB2#2B7FB2

#2B7FB2 is a mid, moderate cyan. Relative luminance 0.189; OKLCH L 57.0% C 0.111 H 240.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#2B7FB2
RGBrgb(43, 127, 178)
HSLhsl(203, 61%, 43%)
HSVhsv(203, 76%, 70%)
CMYKcmyk(75.8%, 28.7%, 0%, 30.2%)
CIE-LABlab(50.58, -7.37, -34.06)
CIE-LCHlch(50.58, 34.85, 257.78°)
OKLaboklab(57.02% -0.0557 -0.0963)
OKLCHoklch(57.02% 0.111 240)
XYZxyz(16.6184, 18.9047, 44.8840)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7FB2 #B25E2B
analogous
#2BB2A1 #2B7FB2 #2B3BB2
triadic
#2B7FB2 #B22B7F #7FB22B
tetradic
#2B7FB2 #A12BB2 #B25E2B #3BB22B
square
#2B7FB2 #A12BB2 #B25E2B #3BB22B
split-complementary
#2B7FB2 #B22B3B #B2A12B
monochromatic
#13394F #1F5C81 #2B7FB2 #489ED3 #79B8DF

Accessibility & contrast

On white

4.39
#2B7FB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#2B7FB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7FB2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7FB2#FFFFFF#000000##000000
##2B7FB21.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#677FB4
Deuteranopia (green-blind)
#5573B1
Tritanopia (blue-blind)
#008C91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2b7fb2;
/* rgb */ color: rgb(43, 127, 178);
/* oklch */ color: oklch(57.0% 0.111 240.0);
Tailwind
colors: {
  custom: {
    50: '#78a4c9',
    500: '#2b7fb2',
    950: '#000000',
  },
}
SCSS
$custom: #2b7fb2;
$custom-light: #78a4c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7fb2",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 202.667,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.57023,
    "c": 0.11123,
    "h": 240
  },
  "luminance": 0.18907
}

Semantic roles & 50–950 ramp

primary
#2B7FB2
secondary
#C79272
accent
#8044E4
background
#F7FAFC
surface
#EEF3F8
border
#C9CDD1
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2B7FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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