#2B6DB8#2B6DB8

#2B6DB8 is a mid, vivid cyan. Relative luminance 0.149; OKLCH L 53.1% C 0.135 H 254.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#2B6DB8
RGBrgb(43, 109, 184)
HSLhsl(212, 62%, 45%)
HSVhsv(212, 77%, 72%)
CMYKcmyk(76.6%, 40.8%, 0%, 27.8%)
CIE-LABlab(45.51, 5.75, -45.55)
CIE-LCHlch(45.51, 45.91, 277.19°)
OKLaboklab(53.14% -0.0372 -0.1301)
OKLCHoklch(53.14% 0.135 254)
XYZxyz(15.1134, 14.9098, 47.4195)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6DB8 #B8762B
analogous
#2BB4B8 #2B6DB8 #2F2BB8
triadic
#2B6DB8 #B82B6D #6DB82B
tetradic
#2B6DB8 #B82BB4 #B8762B #2BB82F
square
#2B6DB8 #B82BB4 #B8762B #2BB82F
split-complementary
#2B6DB8 #B82F2B #B4B82B
monochromatic
#143255 #1F5086 #2B6DB8 #4B8CD5 #7DACE1

Accessibility & contrast

On white

5.27
#2B6DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#2B6DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6DB8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6DB8#FFFFFF#000000##FFFFFF
##2B6DB81.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4973BB
Deuteranopia (green-blind)
#3166B7
Tritanopia (blue-blind)
#007F89
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2b6db8;
/* rgb */ color: rgb(43, 109, 184);
/* oklch */ color: oklch(53.1% 0.135 254.0);
Tailwind
colors: {
  custom: {
    50: '#7896ce',
    500: '#2b6db8',
    950: '#000000',
  },
}
SCSS
$custom: #2b6db8;
$custom-light: #7896ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6db8",
  "rgb": {
    "r": 43,
    "g": 109,
    "b": 184
  },
  "hsl": {
    "h": 211.915,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53143,
    "c": 0.13536,
    "h": 254
  },
  "luminance": 0.14912
}

Semantic roles & 50–950 ramp

primary
#2B6DB8
secondary
#C9A276
accent
#9943E5
background
#F7F9FC
surface
#EEF1F9
border
#C9CBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2B6DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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