#2B6FD0#2B6FD0

#2B6FD0 is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.2% C 0.165 H 258.0°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#2B6FD0
RGBrgb(43, 111, 208)
HSLhsl(215, 66%, 49%)
HSVhsv(215, 79%, 82%)
CMYKcmyk(79.3%, 46.6%, 0%, 18.4%)
CIE-LABlab(47.54, 13.58, -56.12)
CIE-LCHlch(47.54, 57.74, 283.61°)
OKLaboklab(55.18% -0.0341 -0.1612)
OKLCHoklch(55.18% 0.165 258)
XYZxyz(18.0617, 16.4344, 61.8825)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B6FD0 #D08C2B
analogous
#2BC2D0 #2B6FD0 #3A2BD0
triadic
#2B6FD0 #D02B6F #6FD02B
tetradic
#2B6FD0 #D02BC2 #D08C2B #2BD03A
square
#2B6FD0 #D02BC2 #D08C2B #2BD03A
split-complementary
#2B6FD0 #D03A2B #C2D02B
monochromatic
#16396B #21549D #2B6FD0 #5B91DD #8EB3E8

Accessibility & contrast

On white

4.90
#2B6FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#2B6FD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2B6FD0
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B6FD0#FFFFFF#000000##FFFFFF
##2B6FD01.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A79D4
Deuteranopia (green-blind)
#066ACE
Tritanopia (blue-blind)
#008695
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2b6fd0;
/* rgb */ color: rgb(43, 111, 208);
/* oklch */ color: oklch(55.2% 0.165 258.0);
Tailwind
colors: {
  custom: {
    50: '#7e97df',
    500: '#2b6fd0',
    950: '#000000',
  },
}
SCSS
$custom: #2b6fd0;
$custom-light: #7e97df;
$custom-dark: #000000;
JSON
{
  "hex": "#2b6fd0",
  "rgb": {
    "r": 43,
    "g": 111,
    "b": 208
  },
  "hsl": {
    "h": 215.273,
    "s": 65.737,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55184,
    "c": 0.16475,
    "h": 258
  },
  "luminance": 0.16437
}

Semantic roles & 50–950 ramp

primary
#2B6FD0
secondary
#D2B285
accent
#A33FE9
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2B6FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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