#2B6BB5#2B6BB5

#2B6BB5 is a mid, vivid cyan. Relative luminance 0.144; OKLCH L 52.5% C 0.134 H 254.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#2B6BB5
RGBrgb(43, 107, 181)
HSLhsl(212, 62%, 44%)
HSVhsv(212, 76%, 71%)
CMYKcmyk(76.2%, 40.9%, 0%, 29%)
CIE-LABlab(44.75, 5.87, -45.01)
CIE-LCHlch(44.75, 45.40, 277.43°)
OKLaboklab(52.49% -0.0361 -0.1286)
OKLCHoklch(52.49% 0.134 254.3)
XYZxyz(14.5913, 14.3635, 45.7105)
Luminance0.1436 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6BB5 #B5752B
analogous
#2BB0B5 #2B6BB5 #302BB5
triadic
#2B6BB5 #B52B6B #6BB52B
tetradic
#2B6BB5 #B52BB0 #B5752B #2BB530
square
#2B6BB5 #B52BB0 #B5752B #2BB530
split-complementary
#2B6BB5 #B5302B #B0B52B
monochromatic
#143152 #1F4E84 #2B6BB5 #498AD4 #7BAAE0

Accessibility & contrast

On white

5.42
#2B6BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#2B6BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6BB5
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6BB5#FFFFFF#000000##FFFFFF
##2B6BB51.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4771B8
Deuteranopia (green-blind)
#3064B4
Tritanopia (blue-blind)
#007C87
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #2b6bb5;
/* rgb */ color: rgb(43, 107, 181);
/* oklch */ color: oklch(52.5% 0.134 254.3);
Tailwind
colors: {
  custom: {
    50: '#7894cb',
    500: '#2b6bb5',
    950: '#000000',
  },
}
SCSS
$custom: #2b6bb5;
$custom-light: #7894cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6bb5",
  "rgb": {
    "r": 43,
    "g": 107,
    "b": 181
  },
  "hsl": {
    "h": 212.174,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52494,
    "c": 0.13359,
    "h": 254.3
  },
  "luminance": 0.14365
}

Semantic roles & 50–950 ramp

primary
#2B6BB5
secondary
#C8A174
accent
#9A43E5
background
#F7F9FC
surface
#EEF1F9
border
#C9CBD2
text
#0A0D13
muted
#7C7E82

Preview Lab

Preview with #2B6BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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