#2D6FCE#2D6FCE

#2D6FCE is a mid, vivid blue. Relative luminance 0.164; OKLCH L 55.1% C 0.162 H 258.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#2D6FCE
RGBrgb(45, 111, 206)
HSLhsl(215, 64%, 49%)
HSVhsv(215, 78%, 81%)
CMYKcmyk(78.2%, 46.1%, 0%, 19.2%)
CIE-LABlab(47.47, 13.04, -55.08)
CIE-LCHlch(47.47, 56.60, 283.32°)
OKLaboklab(55.11% -0.0333 -0.1581)
OKLCHoklch(55.11% 0.162 258.1)
XYZxyz(17.9031, 16.3809, 60.5988)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6FCE #CE8C2D
analogous
#2DC0CE #2D6FCE #3C2DCE
triadic
#2D6FCE #CE2D6F #6FCE2D
tetradic
#2D6FCE #CE2DC0 #CE8C2D #2DCE3C
square
#2D6FCE #CE2DC0 #CE8C2D #2DCE3C
split-complementary
#2D6FCE #CE3C2D #C0CE2D
monochromatic
#17396A #22549C #2D6FCE #5D91DC #8FB3E7

Accessibility & contrast

On white

4.91
#2D6FCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#2D6FCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2D6FCE
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6FCE#FFFFFF#000000##FFFFFF
##2D6FCE1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D2
Deuteranopia (green-blind)
#116ACC
Tritanopia (blue-blind)
#008694
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #2d6fce;
/* rgb */ color: rgb(45, 111, 206);
/* oklch */ color: oklch(55.1% 0.162 258.1);
Tailwind
colors: {
  custom: {
    50: '#7e97dd',
    500: '#2d6fce',
    950: '#000000',
  },
}
SCSS
$custom: #2d6fce;
$custom-light: #7e97dd;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6fce",
  "rgb": {
    "r": 45,
    "g": 111,
    "b": 206
  },
  "hsl": {
    "h": 215.404,
    "s": 64.143,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55106,
    "c": 0.16158,
    "h": 258.1
  },
  "luminance": 0.16383
}

Semantic roles & 50–950 ramp

primary
#2D6FCE
secondary
#D1B286
accent
#A341E7
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2D6FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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