#2D6ECA#2D6ECA

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

Color values

HEX#2D6ECA
RGBrgb(45, 110, 202)
HSLhsl(215, 64%, 48%)
HSVhsv(215, 78%, 79%)
CMYKcmyk(77.7%, 45.5%, 0%, 20.8%)
CIE-LABlab(46.94, 12.16, -53.65)
CIE-LCHlch(46.94, 55.01, 282.77°)
OKLaboklab(54.62% -0.0332 -0.1539)
OKLCHoklch(54.62% 0.157 257.8)
XYZxyz(17.3149, 15.9720, 58.0360)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6ECA #CA892D
analogous
#2DBCCA #2D6ECA #3A2DCA
triadic
#2D6ECA #CA2D6E #6ECA2D
tetradic
#2D6ECA #CA2DBC #CA892D #2DCA3A
square
#2D6ECA #CA2DBC #CA892D #2DCA3A
split-complementary
#2D6ECA #CA3A2D #BCCA2D
monochromatic
#173766 #225398 #2D6ECA #5A8FDA #8CB1E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D6ECA#FFFFFF#000000##FFFFFF
##2D6ECA1.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)
#3D77CD
Deuteranopia (green-blind)
#1869C8
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2d6eca;
/* rgb */ color: rgb(45, 110, 202);
/* oklch */ color: oklch(54.6% 0.157 257.8);
Tailwind
colors: {
  custom: {
    50: '#7d96db',
    500: '#2d6eca',
    950: '#000000',
  },
}
SCSS
$custom: #2d6eca;
$custom-light: #7d96db;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6eca",
  "rgb": {
    "r": 45,
    "g": 110,
    "b": 202
  },
  "hsl": {
    "h": 215.159,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54615,
    "c": 0.15745,
    "h": 257.8
  },
  "luminance": 0.15974
}

Semantic roles & 50–950 ramp

primary
#2D6ECA
secondary
#CFB083
accent
#A241E7
background
#F8F9FD
surface
#EFF1FB
border
#CACBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2D6ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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