#2B6CBA#2B6CBA

#2B6CBA is a mid, vivid cyan. Relative luminance 0.148; OKLCH L 53.0% C 0.139 H 255.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#2B6CBA
RGBrgb(43, 108, 186)
HSLhsl(213, 62%, 45%)
HSVhsv(213, 77%, 73%)
CMYKcmyk(76.9%, 41.9%, 0%, 27.1%)
CIE-LABlab(45.33, 7.14, -46.99)
CIE-LCHlch(45.33, 47.53, 278.63°)
OKLaboklab(53.04% -0.0359 -0.1344)
OKLCHoklch(53.04% 0.139 255)
XYZxyz(15.2185, 14.7821, 48.4960)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6CBA #BA792B
analogous
#2BB4BA #2B6CBA #312BBA
triadic
#2B6CBA #BA2B6C #6CBA2B
tetradic
#2B6CBA #BA2BB4 #BA792B #2BBA31
square
#2B6CBA #BA2BB4 #BA792B #2BBA31
split-complementary
#2B6CBA #BA312B #B4BA2B
monochromatic
#143257 #204F88 #2B6CBA #4C8BD6 #7EABE1

Accessibility & contrast

On white

5.31
#2B6CBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#2B6CBA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6CBA
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6CBA#FFFFFF#000000##FFFFFF
##2B6CBA1.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4672BD
Deuteranopia (green-blind)
#2D65B8
Tritanopia (blue-blind)
#007E8A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2b6cba;
/* rgb */ color: rgb(43, 108, 186);
/* oklch */ color: oklch(53.0% 0.139 255.0);
Tailwind
colors: {
  custom: {
    50: '#7995cf',
    500: '#2b6cba',
    950: '#000000',
  },
}
SCSS
$custom: #2b6cba;
$custom-light: #7995cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6cba",
  "rgb": {
    "r": 43,
    "g": 108,
    "b": 186
  },
  "hsl": {
    "h": 212.727,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53043,
    "c": 0.1391,
    "h": 255
  },
  "luminance": 0.14784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B6CBA

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

Preview Lab → · Contrast checker → · Palette generator →

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