#2B6FBA#2B6FBA

#2B6FBA is a mid, vivid cyan. Relative luminance 0.154; OKLCH L 53.7% C 0.136 H 253.5°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#2B6FBA
RGBrgb(43, 111, 186)
HSLhsl(211, 62%, 45%)
HSVhsv(211, 77%, 73%)
CMYKcmyk(76.9%, 40.3%, 0%, 27.1%)
CIE-LABlab(46.21, 5.25, -45.59)
CIE-LCHlch(46.21, 45.89, 276.57°)
OKLaboklab(53.73% -0.0385 -0.1302)
OKLCHoklch(53.73% 0.136 253.5)
XYZxyz(15.5403, 15.4258, 48.6033)
Luminance0.1543 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6FBA #BA762B
analogous
#2BB6BA #2B6FBA #2F2BBA
triadic
#2B6FBA #BA2B6F #6FBA2B
tetradic
#2B6FBA #BA2BB6 #BA762B #2BBA2F
square
#2B6FBA #BA2BB6 #BA762B #2BBA2F
split-complementary
#2B6FBA #BA2F2B #B6BA2B
monochromatic
#143457 #205188 #2B6FBA #4C8ED6 #7EADE1

Accessibility & contrast

On white

5.14
#2B6FBA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2B6FBA
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6FBA#FFFFFF#000000##FFFFFF
##2B6FBA1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b6fba;
/* rgb */ color: rgb(43, 111, 186);
/* oklch */ color: oklch(53.7% 0.136 253.5);
Tailwind
colors: {
  custom: {
    50: '#7997cf',
    500: '#2b6fba',
    950: '#000000',
  },
}
SCSS
$custom: #2b6fba;
$custom-light: #7997cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6fba",
  "rgb": {
    "r": 43,
    "g": 111,
    "b": 186
  },
  "hsl": {
    "h": 211.469,
    "s": 62.445,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53727,
    "c": 0.1358,
    "h": 253.5
  },
  "luminance": 0.15428
}

Semantic roles & 50–950 ramp

primary
#2B6FBA
secondary
#CAA277
accent
#9842E6
background
#F8F9FC
surface
#EFF2F9
border
#CACCD2
text
#0A0D14
muted
#7C7E82

Preview Lab

Preview with #2B6FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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