#2B7FBF#2B7FBF

#2B7FBF is a mid, vivid cyan. Relative luminance 0.195; OKLCH L 57.7% C 0.126 H 245.8°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#2B7FBF
RGBrgb(43, 127, 191)
HSLhsl(206, 63%, 46%)
HSVhsv(206, 77%, 75%)
CMYKcmyk(77.5%, 33.5%, 0%, 25.1%)
CIE-LABlab(51.21, -2.65, -40.54)
CIE-LCHlch(51.21, 40.62, 266.26°)
OKLaboklab(57.74% -0.0516 -0.1152)
OKLCHoklch(57.74% 0.126 245.8)
XYZxyz(17.9860, 19.4518, 52.0867)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B7FBF #BF6B2B
analogous
#2BBFB5 #2B7FBF #2B35BF
triadic
#2B7FBF #BF2B7F #7FBF2B
tetradic
#2B7FBF #B52BBF #BF6B2B #35BF2B
square
#2B7FBF #B52BBF #BF6B2B #35BF2B
split-complementary
#2B7FBF #BF2B35 #BFB52B
monochromatic
#153D5B #205E8D #2B7FBF #509DD8 #82B9E3

Accessibility & contrast

On white

4.29
#2B7FBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#2B7FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2B7FBF
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B7FBF#FFFFFF#000000##000000
##2B7FBF1.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6181C2
Deuteranopia (green-blind)
#4C74BE
Tritanopia (blue-blind)
#008E96
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #2b7fbf;
/* rgb */ color: rgb(43, 127, 191);
/* oklch */ color: oklch(57.7% 0.126 245.8);
Tailwind
colors: {
  custom: {
    50: '#7aa3d2',
    500: '#2b7fbf',
    950: '#000000',
  },
}
SCSS
$custom: #2b7fbf;
$custom-light: #7aa3d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2b7fbf",
  "rgb": {
    "r": 43,
    "g": 127,
    "b": 191
  },
  "hsl": {
    "h": 205.946,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.57735,
    "c": 0.12621,
    "h": 245.8
  },
  "luminance": 0.19454
}

Semantic roles & 50–950 ramp

primary
#2B7FBF
secondary
#CC9D7A
accent
#8942E6
background
#F8FAFC
surface
#EFF3F9
border
#CACDD2
text
#0B0F14
muted
#7C7F82

Preview Lab

Preview with #2B7FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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