#2B6CC9#2B6CC9

#2B6CC9 is a mid, vivid blue. Relative luminance 0.155; OKLCH L 54.0% C 0.159 H 258.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#2B6CC9
RGBrgb(43, 108, 201)
HSLhsl(215, 65%, 48%)
HSVhsv(215, 79%, 79%)
CMYKcmyk(78.6%, 46.3%, 0%, 21.2%)
CIE-LABlab(46.25, 12.83, -54.18)
CIE-LCHlch(46.25, 55.68, 283.32°)
OKLaboklab(54.05% -0.033 -0.1555)
OKLCHoklch(54.05% 0.159 258)
XYZxyz(16.8976, 15.4538, 57.3393)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6CC9 #C9882B
analogous
#2BBBC9 #2B6CC9 #392BC9
triadic
#2B6CC9 #C92B6C #6CC92B
tetradic
#2B6CC9 #C92BBB #C9882B #2BC939
square
#2B6CC9 #C92BBB #C9882B #2BC939
split-complementary
#2B6CC9 #C9392B #BBC92B
monochromatic
#153664 #205197 #2B6CC9 #568DDB #89AFE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B6CC9#FFFFFF#000000##FFFFFF
##2B6CC91.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)
#3A75CC
Deuteranopia (green-blind)
#0F67C7
Tritanopia (blue-blind)
#008291
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2b6cc9;
/* rgb */ color: rgb(43, 108, 201);
/* oklch */ color: oklch(54.0% 0.159 258.0);
Tailwind
colors: {
  custom: {
    50: '#7c95da',
    500: '#2b6cc9',
    950: '#000000',
  },
}
SCSS
$custom: #2b6cc9;
$custom-light: #7c95da;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6cc9",
  "rgb": {
    "r": 43,
    "g": 108,
    "b": 201
  },
  "hsl": {
    "h": 215.316,
    "s": 64.754,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54047,
    "c": 0.159,
    "h": 258
  },
  "luminance": 0.15456
}

Semantic roles & 50–950 ramp

primary
#2B6CC9
secondary
#CFAF80
accent
#A340E8
background
#F8F9FD
surface
#EFF1FB
border
#CACBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2B6CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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