#2C6FBA#2C6FBA

#2C6FBA is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.8% C 0.135 H 253.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2C6FBA
RGBrgb(44, 111, 186)
HSLhsl(212, 62%, 45%)
HSVhsv(212, 76%, 73%)
CMYKcmyk(76.3%, 40.3%, 0%, 27.1%)
CIE-LABlab(46.24, 5.37, -45.54)
CIE-LCHlch(46.24, 45.86, 276.73°)
OKLaboklab(53.76% -0.0379 -0.1301)
OKLCHoklch(53.76% 0.135 253.7)
XYZxyz(15.5828, 15.4477, 48.6053)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6FBA #BA772C
analogous
#2CB6BA #2C6FBA #302CBA
triadic
#2C6FBA #BA2C6F #6FBA2C
tetradic
#2C6FBA #BA2CB6 #BA772C #2CBA30
square
#2C6FBA #BA2CB6 #BA772C #2CBA30
split-complementary
#2C6FBA #BA302C #B6BA2C
monochromatic
#153457 #205189 #2C6FBA #4E8ED5 #80ADE1

Accessibility & contrast

On white

5.13
#2C6FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#2C6FBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6FBA
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6FBA#FFFFFF#000000##FFFFFF
##2C6FBA1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B75BD
Deuteranopia (green-blind)
#3468B9
Tritanopia (blue-blind)
#00818B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2c6fba;
/* rgb */ color: rgb(44, 111, 186);
/* oklch */ color: oklch(53.8% 0.135 253.7);
Tailwind
colors: {
  custom: {
    50: '#7997cf',
    500: '#2c6fba',
    950: '#000000',
  },
}
SCSS
$custom: #2c6fba;
$custom-light: #7997cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6fba",
  "rgb": {
    "r": 44,
    "g": 111,
    "b": 186
  },
  "hsl": {
    "h": 211.69,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53758,
    "c": 0.13549,
    "h": 253.7
  },
  "luminance": 0.1545
}

Semantic roles & 50–950 ramp

primary
#2C6FBA
secondary
#CAA378
accent
#9843E5
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2C6FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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