#2C6DBA#2C6DBA

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

Color values

HEX#2C6DBA
RGBrgb(44, 109, 186)
HSLhsl(213, 62%, 45%)
HSVhsv(213, 76%, 73%)
CMYKcmyk(76.3%, 41.4%, 0%, 27.1%)
CIE-LABlab(45.66, 6.63, -46.47)
CIE-LCHlch(45.66, 46.94, 278.12°)
OKLaboklab(53.3% -0.0362 -0.1328)
OKLCHoklch(53.3% 0.138 254.8)
XYZxyz(15.3670, 15.0161, 48.5334)
Luminance0.1502 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6DBA #BA792C
analogous
#2CB4BA #2C6DBA #322CBA
triadic
#2C6DBA #BA2C6D #6DBA2C
tetradic
#2C6DBA #BA2CB4 #BA792C #2CBA32
square
#2C6DBA #BA2CB4 #BA792C #2CBA32
split-complementary
#2C6DBA #BA322C #B4BA2C
monochromatic
#153357 #205089 #2C6DBA #4E8CD5 #80ACE1

Accessibility & contrast

On white

5.25
#2C6DBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#2C6DBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C6DBA
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6DBA#FFFFFF#000000##FFFFFF
##2C6DBA1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4873BD
Deuteranopia (green-blind)
#2F66B8
Tritanopia (blue-blind)
#007F8A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2c6dba;
/* rgb */ color: rgb(44, 109, 186);
/* oklch */ color: oklch(53.3% 0.138 254.8);
Tailwind
colors: {
  custom: {
    50: '#7996cf',
    500: '#2c6dba',
    950: '#000000',
  },
}
SCSS
$custom: #2c6dba;
$custom-light: #7996cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6dba",
  "rgb": {
    "r": 44,
    "g": 109,
    "b": 186
  },
  "hsl": {
    "h": 212.535,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.53302,
    "c": 0.13769,
    "h": 254.8
  },
  "luminance": 0.15018
}

Semantic roles & 50–950 ramp

primary
#2C6DBA
secondary
#CAA478
accent
#9B43E5
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2C6DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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