#2D6CCE#2D6CCE

#2D6CCE is a mid, vivid blue. Relative luminance 0.157; OKLCH L 54.5% C 0.165 H 259.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#2D6CCE
RGBrgb(45, 108, 206)
HSLhsl(217, 64%, 49%)
HSVhsv(217, 78%, 81%)
CMYKcmyk(78.2%, 47.6%, 0%, 19.2%)
CIE-LABlab(46.63, 14.94, -56.44)
CIE-LCHlch(46.63, 58.38, 284.83°)
OKLaboklab(54.46% -0.0309 -0.1621)
OKLCHoklch(54.46% 0.165 259.2)
XYZxyz(17.5813, 15.7372, 60.4915)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6CCE #CE8F2D
analogous
#2DBDCE #2D6CCE #3F2DCE
triadic
#2D6CCE #CE2D6C #6CCE2D
tetradic
#2D6CCE #CE2DBD #CE8F2D #2DCE3F
square
#2D6CCE #CE2DBD #CE8F2D #2DCE3F
split-complementary
#2D6CCE #CE3F2D #BDCE2D
monochromatic
#17376A #22529C #2D6CCE #5D8EDC #8FB1E7

Accessibility & contrast

On white

5.06
#2D6CCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#2D6CCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6CCE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6CCE#FFFFFF#000000##FFFFFF
##2D6CCE1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3576D2
Deuteranopia (green-blind)
#0068CC
Tritanopia (blue-blind)
#008393
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #2d6cce;
/* rgb */ color: rgb(45, 108, 206);
/* oklch */ color: oklch(54.5% 0.165 259.2);
Tailwind
colors: {
  custom: {
    50: '#7e95de',
    500: '#2d6cce',
    950: '#000000',
  },
}
SCSS
$custom: #2d6cce;
$custom-light: #7e95de;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6cce",
  "rgb": {
    "r": 45,
    "g": 108,
    "b": 206
  },
  "hsl": {
    "h": 216.522,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54458,
    "c": 0.16508,
    "h": 259.2
  },
  "luminance": 0.15739
}

Semantic roles & 50–950 ramp

primary
#2D6CCE
secondary
#D1B486
accent
#A641E7
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2D6CCE

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

Preview Lab → · Contrast checker → · Palette generator →

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