#2E6CD0#2E6CD0

#2E6CD0 is a mid, vivid blue. Relative luminance 0.159; OKLCH L 54.6% C 0.167 H 259.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#2E6CD0
RGBrgb(46, 108, 208)
HSLhsl(217, 64%, 50%)
HSVhsv(217, 78%, 82%)
CMYKcmyk(77.9%, 48.1%, 0%, 18.4%)
CIE-LABlab(46.79, 15.80, -57.32)
CIE-LCHlch(46.79, 59.46, 285.41°)
OKLaboklab(54.63% -0.03 -0.1647)
OKLCHoklch(54.63% 0.167 259.7)
XYZxyz(17.8703, 15.8579, 61.7813)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6CD0 #D0922E
analogous
#2EBDD0 #2E6CD0 #412ED0
triadic
#2E6CD0 #D02E6C #6CD02E
tetradic
#2E6CD0 #D02EBD #D0922E #2ED041
square
#2E6CD0 #D02EBD #D0922E #2ED041
split-complementary
#2E6CD0 #D0412E #BDD02E
monochromatic
#18386C #23529E #2E6CD0 #5F8FDC #92B2E7

Accessibility & contrast

On white

5.03
#2E6CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#2E6CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6CD0
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6CD0#FFFFFF#000000##FFFFFF
##2E6CD01.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3377D4
Deuteranopia (green-blind)
#0068CE
Tritanopia (blue-blind)
#008494
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e6cd0;
/* rgb */ color: rgb(46, 108, 208);
/* oklch */ color: oklch(54.6% 0.167 259.7);
Tailwind
colors: {
  custom: {
    50: '#7f95df',
    500: '#2e6cd0',
    950: '#000000',
  },
}
SCSS
$custom: #2e6cd0;
$custom-light: #7f95df;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6cd0",
  "rgb": {
    "r": 46,
    "g": 108,
    "b": 208
  },
  "hsl": {
    "h": 217.037,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5463,
    "c": 0.16745,
    "h": 259.7
  },
  "luminance": 0.1586
}

Semantic roles & 50–950 ramp

primary
#2E6CD0
secondary
#D2B588
accent
#A741E7
background
#F8F9FD
surface
#F0F1FB
border
#CBCBD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #2E6CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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