#2B7FB8#2B7FB8

#2B7FB8 is a mid, moderate cyan. Relative luminance 0.192; OKLCH L 57.3% C 0.118 H 242.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#2B7FB8
RGBrgb(43, 127, 184)
HSLhsl(204, 62%, 45%)
HSVhsv(204, 77%, 72%)
CMYKcmyk(76.6%, 31%, 0%, 27.8%)
CIE-LABlab(50.86, -5.20, -37.07)
CIE-LCHlch(50.86, 37.43, 262.01°)
OKLaboklab(57.35% -0.0537 -0.105)
OKLCHoklch(57.35% 0.118 242.9)
XYZxyz(17.2340, 19.1510, 48.1263)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7FB8 #B8642B
analogous
#2BB8AB #2B7FB8 #2B39B8
triadic
#2B7FB8 #B82B7F #7FB82B
tetradic
#2B7FB8 #AB2BB8 #B8642B #39B82B
square
#2B7FB8 #AB2BB8 #B8642B #39B82B
split-complementary
#2B7FB8 #B82B39 #B8AB2B
monochromatic
#143B55 #1F5D86 #2B7FB8 #4B9DD5 #7DB8E1

Accessibility & contrast

On white

4.35
#2B7FB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#2B7FB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7FB8
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7FB8#FFFFFF#000000##000000
##2B7FB81.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6580BA
Deuteranopia (green-blind)
#5173B7
Tritanopia (blue-blind)
#008D93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b7fb8;
/* rgb */ color: rgb(43, 127, 184);
/* oklch */ color: oklch(57.3% 0.118 242.9);
Tailwind
colors: {
  custom: {
    50: '#79a3cd',
    500: '#2b7fb8',
    950: '#000000',
  },
}
SCSS
$custom: #2b7fb8;
$custom-light: #79a3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7fb8",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 184
  },
  "hsl": {
    "h": 204.255,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.57346,
    "c": 0.11799,
    "h": 242.9
  },
  "luminance": 0.19153
}

Semantic roles & 50–950 ramp

primary
#2B7FB8
secondary
#C99776
accent
#8443E5
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0A0F13
muted
#7C7F82

Preview Lab

Preview with #2B7FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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