#2E6FD4#2E6FD4

#2E6FD4 is a mid, vivid blue. Relative luminance 0.167; OKLCH L 55.6% C 0.169 H 259.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#2E6FD4
RGBrgb(46, 111, 212)
HSLhsl(217, 66%, 51%)
HSVhsv(217, 78%, 83%)
CMYKcmyk(78.3%, 47.6%, 0%, 16.9%)
CIE-LABlab(47.88, 15.41, -57.84)
CIE-LCHlch(47.88, 59.86, 284.92°)
OKLaboklab(55.55% -0.0317 -0.1662)
OKLCHoklch(55.55% 0.169 259.2)
XYZxyz(18.6905, 16.7010, 64.5131)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6FD4 #D4932E
analogous
#2EC2D4 #2E6FD4 #402ED4
triadic
#2E6FD4 #D42E6F #6FD42E
tetradic
#2E6FD4 #D42EC2 #D4932E #2ED440
square
#2E6FD4 #D42EC2 #D4932E #2ED440
split-complementary
#2E6FD4 #D4402E #C2D42E
monochromatic
#173A70 #2254A3 #2E6FD4 #6192DE #94B5E9

Accessibility & contrast

On white

4.84
#2E6FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#2E6FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6FD4
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6FD4#FFFFFF#000000##FFFFFF
##2E6FD41.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#367AD8
Deuteranopia (green-blind)
#006BD2
Tritanopia (blue-blind)
#008797
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #2e6fd4;
/* rgb */ color: rgb(46, 111, 212);
/* oklch */ color: oklch(55.6% 0.169 259.2);
Tailwind
colors: {
  custom: {
    50: '#7f97e2',
    500: '#2e6fd4',
    950: '#000000',
  },
}
SCSS
$custom: #2e6fd4;
$custom-light: #7f97e2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6fd4",
  "rgb": {
    "r": 46,
    "g": 111,
    "b": 212
  },
  "hsl": {
    "h": 216.506,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.55553,
    "c": 0.16922,
    "h": 259.2
  },
  "luminance": 0.16703
}

Semantic roles & 50–950 ramp

primary
#2E6FD4
secondary
#D4B78A
accent
#A63FE9
background
#F8F9FD
surface
#F0F2FB
border
#CBCCD4
text
#0C0D15
muted
#7D7E83

Preview Lab

Preview with #2E6FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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