#2E6EC9#2E6EC9

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

Color values

HEX#2E6EC9
RGBrgb(46, 110, 201)
HSLhsl(215, 63%, 48%)
HSVhsv(215, 77%, 79%)
CMYKcmyk(77.1%, 45.3%, 0%, 21.2%)
CIE-LABlab(46.91, 11.89, -53.12)
CIE-LCHlch(46.91, 54.44, 282.62°)
OKLaboklab(54.58% -0.0328 -0.1524)
OKLCHoklch(54.58% 0.156 257.9)
XYZxyz(17.2414, 15.9477, 57.4166)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6EC9 #C9892E
analogous
#2EBBC9 #2E6EC9 #3C2EC9
triadic
#2E6EC9 #C92E6E #6EC92E
tetradic
#2E6EC9 #C92EBB #C9892E #2EC93C
square
#2E6EC9 #C92EBB #C9892E #2EC93C
split-complementary
#2E6EC9 #C93C2E #BBC92E
monochromatic
#173765 #235397 #2E6EC9 #5B8FD9 #8DB1E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E6EC9#FFFFFF#000000##FFFFFF
##2E6EC91.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)
#3E77CC
Deuteranopia (green-blind)
#1B69C7
Tritanopia (blue-blind)
#008492
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #2e6ec9;
/* rgb */ color: rgb(46, 110, 201);
/* oklch */ color: oklch(54.6% 0.156 257.9);
Tailwind
colors: {
  custom: {
    50: '#7d97da',
    500: '#2e6ec9',
    950: '#000000',
  },
}
SCSS
$custom: #2e6ec9;
$custom-light: #7d97da;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6ec9",
  "rgb": {
    "r": 46,
    "g": 110,
    "b": 201
  },
  "hsl": {
    "h": 215.226,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.54579,
    "c": 0.15584,
    "h": 257.9
  },
  "luminance": 0.1595
}

Semantic roles & 50–950 ramp

primary
#2E6EC9
secondary
#CFB084
accent
#A242E6
background
#F8F9FD
surface
#EFF1FB
border
#CACBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2E6EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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