#2B6CB8#2B6CB8

#2B6CB8 is a mid, vivid cyan. Relative luminance 0.147; OKLCH L 52.9% C 0.136 H 254.6°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#2B6CB8
RGBrgb(43, 108, 184)
HSLhsl(212, 62%, 45%)
HSVhsv(212, 77%, 72%)
CMYKcmyk(76.6%, 41.3%, 0%, 27.8%)
CIE-LABlab(45.22, 6.38, -46.01)
CIE-LCHlch(45.22, 46.45, 277.89°)
OKLaboklab(52.92% -0.0363 -0.1315)
OKLCHoklch(52.92% 0.136 254.6)
XYZxyz(15.0073, 14.6977, 47.3841)
Luminance0.1470 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6CB8 #B8772B
analogous
#2BB3B8 #2B6CB8 #302BB8
triadic
#2B6CB8 #B82B6C #6CB82B
tetradic
#2B6CB8 #B82BB3 #B8772B #2BB830
square
#2B6CB8 #B82BB3 #B8772B #2BB830
split-complementary
#2B6CB8 #B8302B #B3B82B
monochromatic
#143255 #1F4F86 #2B6CB8 #4B8BD5 #7DABE1

Accessibility & contrast

On white

5.33
#2B6CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#2B6CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6CB8
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6CB8#FFFFFF#000000##FFFFFF
##2B6CB81.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b6cb8;
/* rgb */ color: rgb(43, 108, 184);
/* oklch */ color: oklch(52.9% 0.136 254.6);
Tailwind
colors: {
  custom: {
    50: '#7895ce',
    500: '#2b6cb8',
    950: '#000000',
  },
}
SCSS
$custom: #2b6cb8;
$custom-light: #7895ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6cb8",
  "rgb": {
    "r": 43,
    "g": 108,
    "b": 184
  },
  "hsl": {
    "h": 212.34,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52915,
    "c": 0.13646,
    "h": 254.6
  },
  "luminance": 0.14699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B6CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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