#2E6ABF#2E6ABF

#2E6ABF is a mid, vivid blue. Relative luminance 0.146; OKLCH L 53.0% C 0.147 H 257.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#2E6ABF
RGBrgb(46, 106, 191)
HSLhsl(215, 61%, 46%)
HSVhsv(215, 76%, 75%)
CMYKcmyk(75.9%, 44.5%, 0%, 25.1%)
CIE-LABlab(45.15, 10.66, -50.18)
CIE-LCHlch(45.15, 51.30, 281.99°)
OKLaboklab(53.02% -0.0313 -0.1438)
OKLCHoklch(53.02% 0.147 257.7)
XYZxyz(15.6813, 14.6487, 51.2811)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6ABF #BF832E
analogous
#2EB3BF #2E6ABF #3A2EBF
triadic
#2E6ABF #BF2E6A #6ABF2E
tetradic
#2E6ABF #BF2EB3 #BF832E #2EBF3A
square
#2E6ABF #BF2EB3 #BF832E #2EBF3A
split-complementary
#2E6ABF #BF3A2E #B3BF2E
monochromatic
#16335C #224F8E #2E6ABF #548AD6 #86ACE2

Accessibility & contrast

On white

5.34
#2E6ABF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#2E6ABF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6ABF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6ABF#FFFFFF#000000##FFFFFF
##2E6ABF1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F72C2
Deuteranopia (green-blind)
#2165BD
Tritanopia (blue-blind)
#007E8B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #2e6abf;
/* rgb */ color: rgb(46, 106, 191);
/* oklch */ color: oklch(53.0% 0.147 257.7);
Tailwind
colors: {
  custom: {
    50: '#7b94d3',
    500: '#2e6abf',
    950: '#000000',
  },
}
SCSS
$custom: #2e6abf;
$custom-light: #7b94d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6abf",
  "rgb": {
    "r": 46,
    "g": 106,
    "b": 191
  },
  "hsl": {
    "h": 215.172,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53023,
    "c": 0.14712,
    "h": 257.7
  },
  "luminance": 0.1465
}

Semantic roles & 50–950 ramp

primary
#2E6ABF
secondary
#CBAB7E
accent
#A244E4
background
#F8F9FD
surface
#EFF1FA
border
#CACBD3
text
#0B0D14
muted
#7C7E83

Preview Lab

Preview with #2E6ABF

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

Preview Lab → · Contrast checker → · Palette generator →

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