#2D6EFE#2D6EFE

#2D6EFE is a mid, highly saturated blue. Relative luminance 0.189; OKLCH L 58.5% C 0.225 H 263.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#2D6EFE
RGBrgb(45, 110, 254)
HSLhsl(221, 99%, 59%)
HSVhsv(221, 82%, 100%)
CMYKcmyk(82.3%, 56.7%, 0%, 0.4%)
CIE-LABlab(50.53, 31.64, -77.14)
CIE-LCHlch(50.53, 83.38, 292.30°)
OKLaboklab(58.49% -0.0273 -0.223)
OKLCHoklch(58.49% 0.225 263)
XYZxyz(24.5411, 18.8625, 96.0941)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D6EFE #FEBD2D
analogous
#2DD6FE #2D6EFE #542DFE
triadic
#2D6EFE #FE2D6E #6EFE2D
tetradic
#2D6EFE #FE2DD6 #FEBD2D #2DFE54
square
#2D6EFE #FE2DD6 #FEBD2D #2DFE54
split-complementary
#2D6EFE #FE542D #D6FE2D
monochromatic
#0137B0 #014AED #2D6EFE #6A98FE #A7C2FF

Accessibility & contrast

On white

4.40
#2D6EFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#2D6EFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2D6EFE
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D6EFE#FFFFFF#000000##000000
##2D6EFE1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082FF
Deuteranopia (green-blind)
#006FFB
Tritanopia (blue-blind)
#0092AB
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2d6efe;
/* rgb */ color: rgb(45, 110, 254);
/* oklch */ color: oklch(58.5% 0.225 263.0);
Tailwind
colors: {
  custom: {
    50: '#8996ff',
    500: '#2d6efe',
    950: '#000000',
  },
}
SCSS
$custom: #2d6efe;
$custom-light: #8996ff;
$custom-dark: #000000;
JSON
{
  "hex": "#2d6efe",
  "rgb": {
    "r": 45,
    "g": 110,
    "b": 254
  },
  "hsl": {
    "h": 221.34,
    "s": 99.052,
    "l": 58.627
  },
  "oklch": {
    "l": 0.58485,
    "c": 0.22467,
    "h": 263
  },
  "luminance": 0.18866
}

Semantic roles & 50–950 ramp

primary
#2D6EFE
secondary
#EDD39A
accent
#BC29FF
background
#F9F9FF
surface
#F2F2FF
border
#CCCCD7
text
#0E0D18
muted
#7E7E86

Preview Lab

Preview with #2D6EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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