#2C6BBA#2C6BBA

#2C6BBA is a mid, vivid cyan. Relative luminance 0.146; OKLCH L 52.8% C 0.140 H 255.8°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#2C6BBA
RGBrgb(44, 107, 186)
HSLhsl(213, 62%, 45%)
HSVhsv(213, 76%, 73%)
CMYKcmyk(76.3%, 42.5%, 0%, 27.1%)
CIE-LABlab(45.07, 7.89, -47.40)
CIE-LCHlch(45.07, 48.06, 279.45°)
OKLaboklab(52.85% -0.0344 -0.1356)
OKLCHoklch(52.85% 0.14 255.8)
XYZxyz(15.1560, 14.5943, 48.4631)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6BBA #BA7B2C
analogous
#2CB2BA #2C6BBA #342CBA
triadic
#2C6BBA #BA2C6B #6BBA2C
tetradic
#2C6BBA #BA2CB2 #BA7B2C #2CBA34
square
#2C6BBA #BA2CB2 #BA7B2C #2CBA34
split-complementary
#2C6BBA #BA342C #B2BA2C
monochromatic
#153257 #204F89 #2C6BBA #4E8AD5 #80ABE1

Accessibility & contrast

On white

5.36
#2C6BBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#2C6BBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6BBA
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6BBA#FFFFFF#000000##FFFFFF
##2C6BBA1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4472BD
Deuteranopia (green-blind)
#2B65B8
Tritanopia (blue-blind)
#007E89
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2c6bba;
/* rgb */ color: rgb(44, 107, 186);
/* oklch */ color: oklch(52.8% 0.140 255.8);
Tailwind
colors: {
  custom: {
    50: '#7994cf',
    500: '#2c6bba',
    950: '#000000',
  },
}
SCSS
$custom: #2c6bba;
$custom-light: #7994cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6bba",
  "rgb": {
    "r": 44,
    "g": 107,
    "b": 186
  },
  "hsl": {
    "h": 213.38,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52849,
    "c": 0.13992,
    "h": 255.8
  },
  "luminance": 0.14596
}

Semantic roles & 50–950 ramp

primary
#2C6BBA
secondary
#CAA578
accent
#9D43E5
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2C6BBA

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

Preview Lab → · Contrast checker → · Palette generator →

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