#2B7FB7#2B7FB7

#2B7FB7 is a mid, moderate cyan. Relative luminance 0.191; OKLCH L 57.3% C 0.117 H 242.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#2B7FB7
RGBrgb(43, 127, 183)
HSLhsl(204, 62%, 44%)
HSVhsv(204, 77%, 72%)
CMYKcmyk(76.5%, 30.6%, 0%, 28.2%)
CIE-LABlab(50.81, -5.57, -36.57)
CIE-LCHlch(50.81, 36.99, 261.34°)
OKLaboklab(57.29% -0.0541 -0.1036)
OKLCHoklch(57.29% 0.117 242.4)
XYZxyz(17.1295, 19.1092, 47.5762)
Luminance0.1911 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7FB7 #B7632B
analogous
#2BB7A9 #2B7FB7 #2B39B7
triadic
#2B7FB7 #B72B7F #7FB72B
tetradic
#2B7FB7 #A92BB7 #B7632B #39B72B
square
#2B7FB7 #A92BB7 #B7632B #39B72B
split-complementary
#2B7FB7 #B72B39 #B7A92B
monochromatic
#143A54 #1F5D85 #2B7FB7 #4B9DD5 #7CB8E0

Accessibility & contrast

On white

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

On black

4.82
#2B7FB7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7FB7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7FB7#FFFFFF#000000##000000
##2B7FB71.004.354.824.82
#FFFFFF4.351.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6580B9
Deuteranopia (green-blind)
#5273B6
Tritanopia (blue-blind)
#008D93
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #2b7fb7;
/* rgb */ color: rgb(43, 127, 183);
/* oklch */ color: oklch(57.3% 0.117 242.4);
Tailwind
colors: {
  custom: {
    50: '#79a3cd',
    500: '#2b7fb7',
    950: '#000000',
  },
}
SCSS
$custom: #2b7fb7;
$custom-light: #79a3cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7fb7",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 183
  },
  "hsl": {
    "h": 204,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.57291,
    "c": 0.11685,
    "h": 242.4
  },
  "luminance": 0.19111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B7FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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