#2B6BB4#2B6BB4

#2B6BB4 is a mid, vivid cyan. Relative luminance 0.143; OKLCH L 52.4% C 0.132 H 254.0°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#2B6BB4
RGBrgb(43, 107, 180)
HSLhsl(212, 61%, 44%)
HSVhsv(212, 76%, 71%)
CMYKcmyk(76.1%, 40.6%, 0%, 29.4%)
CIE-LABlab(44.69, 5.49, -44.52)
CIE-LCHlch(44.69, 44.86, 277.04°)
OKLaboklab(52.43% -0.0364 -0.1272)
OKLCHoklch(52.43% 0.132 254)
XYZxyz(14.4891, 14.3226, 45.1721)
Luminance0.1432 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6BB4 #B4742B
analogous
#2BAFB4 #2B6BB4 #2F2BB4
triadic
#2B6BB4 #B42B6B #6BB42B
tetradic
#2B6BB4 #B42BAF #B4742B #2BB42F
square
#2B6BB4 #B42BAF #B4742B #2BB42F
split-complementary
#2B6BB4 #B42F2B #AFB42B
monochromatic
#133051 #1F4E83 #2B6BB4 #498AD3 #7AA9DF

Accessibility & contrast

On white

5.43
#2B6BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#2B6BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6BB4
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6BB4#FFFFFF#000000##FFFFFF
##2B6BB41.005.433.865.43
#FFFFFF5.431.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4871B7
Deuteranopia (green-blind)
#3264B3
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b6bb4;
/* rgb */ color: rgb(43, 107, 180);
/* oklch */ color: oklch(52.4% 0.132 254.0);
Tailwind
colors: {
  custom: {
    50: '#7894cb',
    500: '#2b6bb4',
    950: '#000000',
  },
}
SCSS
$custom: #2b6bb4;
$custom-light: #7894cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6bb4",
  "rgb": {
    "r": 43,
    "g": 107,
    "b": 180
  },
  "hsl": {
    "h": 211.971,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5243,
    "c": 0.13227,
    "h": 254
  },
  "luminance": 0.14324
}

Semantic roles & 50–950 ramp

primary
#2B6BB4
secondary
#C7A073
accent
#9943E5
background
#F7F9FC
surface
#EEF1F8
border
#C9CBD1
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2B6BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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