#2D6DCE#2D6DCE

#2D6DCE is a mid, vivid blue. Relative luminance 0.160; OKLCH L 54.7% C 0.164 H 258.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#2D6DCE
RGBrgb(45, 109, 206)
HSLhsl(216, 64%, 49%)
HSVhsv(216, 78%, 81%)
CMYKcmyk(78.2%, 47.1%, 0%, 19.2%)
CIE-LABlab(46.91, 14.30, -55.99)
CIE-LCHlch(46.91, 57.78, 284.33°)
OKLaboklab(54.67% -0.0317 -0.1608)
OKLCHoklch(54.67% 0.164 258.8)
XYZxyz(17.6873, 15.9493, 60.5269)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6DCE #CE8E2D
analogous
#2DBECE #2D6DCE #3E2DCE
triadic
#2D6DCE #CE2D6D #6DCE2D
tetradic
#2D6DCE #CE2DBE #CE8E2D #2DCE3E
square
#2D6DCE #CE2DBE #CE8E2D #2DCE3E
split-complementary
#2D6DCE #CE3E2D #BECE2D
monochromatic
#17386A #22529C #2D6DCE #5D8FDC #8FB2E7

Accessibility & contrast

On white

5.01
#2D6DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#2D6DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6DCE
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6DCE#FFFFFF#000000##FFFFFF
##2D6DCE1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3777D2
Deuteranopia (green-blind)
#0268CC
Tritanopia (blue-blind)
#008493
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d6dce;
/* rgb */ color: rgb(45, 109, 206);
/* oklch */ color: oklch(54.7% 0.164 258.8);
Tailwind
colors: {
  custom: {
    50: '#7e96dd',
    500: '#2d6dce',
    950: '#000000',
  },
}
SCSS
$custom: #2d6dce;
$custom-light: #7e96dd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6dce",
  "rgb": {
    "r": 45,
    "g": 109,
    "b": 206
  },
  "hsl": {
    "h": 216.149,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54673,
    "c": 0.16391,
    "h": 258.8
  },
  "luminance": 0.15951
}

Semantic roles & 50–950 ramp

primary
#2D6DCE
secondary
#D1B386
accent
#A541E7
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2D6DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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