#2B6CB9#2B6CB9

#2B6CB9 is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 53.0% C 0.138 H 254.8°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#2B6CB9
RGBrgb(43, 108, 185)
HSLhsl(213, 62%, 45%)
HSVhsv(213, 77%, 73%)
CMYKcmyk(76.8%, 41.6%, 0%, 27.5%)
CIE-LABlab(45.28, 6.76, -46.50)
CIE-LCHlch(45.28, 46.99, 278.27°)
OKLaboklab(52.98% -0.0361 -0.133)
OKLCHoklch(52.98% 0.138 254.8)
XYZxyz(15.1125, 14.7397, 47.9381)
Luminance0.1474 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6CB9 #B9782B
analogous
#2BB3B9 #2B6CB9 #312BB9
triadic
#2B6CB9 #B92B6C #6CB92B
tetradic
#2B6CB9 #B92BB3 #B9782B #2BB931
square
#2B6CB9 #B92BB3 #B9782B #2BB931
split-complementary
#2B6CB9 #B9312B #B3B92B
monochromatic
#143256 #1F4F87 #2B6CB9 #4C8BD5 #7EABE1

Accessibility & contrast

On white

5.32
#2B6CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#2B6CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6CB9
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6CB9#FFFFFF#000000##FFFFFF
##2B6CB91.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4772BC
Deuteranopia (green-blind)
#2E65B7
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b6cb9;
/* rgb */ color: rgb(43, 108, 185);
/* oklch */ color: oklch(53.0% 0.138 254.8);
Tailwind
colors: {
  custom: {
    50: '#7995ce',
    500: '#2b6cb9',
    950: '#000000',
  },
}
SCSS
$custom: #2b6cb9;
$custom-light: #7995ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6cb9",
  "rgb": {
    "r": 43,
    "g": 108,
    "b": 185
  },
  "hsl": {
    "h": 212.535,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52979,
    "c": 0.13778,
    "h": 254.8
  },
  "luminance": 0.14741
}

Semantic roles & 50–950 ramp

primary
#2B6CB9
secondary
#C9A376
accent
#9B42E5
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2B6CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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