#2D6BC2#2D6BC2

#2D6BC2 is a mid, vivid blue. Relative luminance 0.150; OKLCH L 53.4% C 0.150 H 257.6°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#2D6BC2
RGBrgb(45, 107, 194)
HSLhsl(215, 62%, 47%)
HSVhsv(215, 77%, 76%)
CMYKcmyk(76.8%, 44.8%, 0%, 23.9%)
CIE-LABlab(45.59, 11.03, -51.21)
CIE-LCHlch(45.59, 52.38, 282.16°)
OKLaboklab(53.41% -0.0322 -0.1468)
OKLCHoklch(53.41% 0.15 257.6)
XYZxyz(16.0739, 14.9665, 53.0701)
Luminance0.1497 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6BC2 #C2842D
analogous
#2DB5C2 #2D6BC2 #3A2DC2
triadic
#2D6BC2 #C22D6B #6BC22D
tetradic
#2D6BC2 #C22DB5 #C2842D #2DC23A
square
#2D6BC2 #C22DB5 #C2842D #2DC23A
split-complementary
#2D6BC2 #C23A2D #B5C22D
monochromatic
#16345F #215090 #2D6BC2 #558BD7 #86ADE3

Accessibility & contrast

On white

5.26
#2D6BC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#2D6BC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6BC2
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6BC2#FFFFFF#000000##FFFFFF
##2D6BC21.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E73C5
Deuteranopia (green-blind)
#1E66C0
Tritanopia (blue-blind)
#00808D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2d6bc2;
/* rgb */ color: rgb(45, 107, 194);
/* oklch */ color: oklch(53.4% 0.150 257.6);
Tailwind
colors: {
  custom: {
    50: '#7b94d5',
    500: '#2d6bc2',
    950: '#000000',
  },
}
SCSS
$custom: #2d6bc2;
$custom-light: #7b94d5;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6bc2",
  "rgb": {
    "r": 45,
    "g": 107,
    "b": 194
  },
  "hsl": {
    "h": 215.034,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53413,
    "c": 0.15028,
    "h": 257.6
  },
  "luminance": 0.14968
}

Semantic roles & 50–950 ramp

primary
#2D6BC2
secondary
#CDAC7E
accent
#A242E5
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2D6BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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