#2B6DBA#2B6DBA

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

Color values

HEX#2B6DBA
RGBrgb(43, 109, 186)
HSLhsl(212, 62%, 45%)
HSVhsv(212, 77%, 73%)
CMYKcmyk(76.9%, 41.4%, 0%, 27.1%)
CIE-LABlab(45.63, 6.50, -46.52)
CIE-LCHlch(45.63, 46.97, 277.96°)
OKLaboklab(53.27% -0.0368 -0.133)
OKLCHoklch(53.27% 0.138 254.5)
XYZxyz(15.3245, 14.9943, 48.5314)
Luminance0.1500 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6DBA #BA782B
analogous
#2BB4BA #2B6DBA #312BBA
triadic
#2B6DBA #BA2B6D #6DBA2B
tetradic
#2B6DBA #BA2BB4 #BA782B #2BBA31
square
#2B6DBA #BA2BB4 #BA782B #2BBA31
split-complementary
#2B6DBA #BA312B #B4BA2B
monochromatic
#143357 #205088 #2B6DBA #4C8CD6 #7EACE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B6DBA#FFFFFF#000000##FFFFFF
##2B6DBA1.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: #2b6dba;
/* rgb */ color: rgb(43, 109, 186);
/* oklch */ color: oklch(53.3% 0.138 254.5);
Tailwind
colors: {
  custom: {
    50: '#7996cf',
    500: '#2b6dba',
    950: '#000000',
  },
}
SCSS
$custom: #2b6dba;
$custom-light: #7996cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6dba",
  "rgb": {
    "r": 43,
    "g": 109,
    "b": 186
  },
  "hsl": {
    "h": 212.308,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53271,
    "c": 0.13799,
    "h": 254.5
  },
  "luminance": 0.14996
}

Semantic roles & 50–950 ramp

primary
#2B6DBA
secondary
#CAA477
accent
#9A42E6
background
#F8F9FC
surface
#EFF1F9
border
#CACBD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2B6DBA

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

Preview Lab → · Contrast checker → · Palette generator →

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