#2E6AC9#2E6AC9

#2E6AC9 is a mid, vivid blue. Relative luminance 0.151; OKLCH L 53.7% C 0.161 H 259.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#2E6AC9
RGBrgb(46, 106, 201)
HSLhsl(217, 63%, 48%)
HSVhsv(217, 77%, 79%)
CMYKcmyk(77.1%, 47.3%, 0%, 21.2%)
CIE-LABlab(45.78, 14.44, -54.94)
CIE-LCHlch(45.78, 56.80, 284.72°)
OKLaboklab(53.71% -0.0295 -0.1578)
OKLCHoklch(53.71% 0.161 259.4)
XYZxyz(16.8195, 15.1040, 57.2759)
Luminance0.1511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6AC9 #C98D2E
analogous
#2EB7C9 #2E6AC9 #3F2EC9
triadic
#2E6AC9 #C92E6A #6AC92E
tetradic
#2E6AC9 #C92EB7 #C98D2E #2EC93F
square
#2E6AC9 #C92EB7 #C98D2E #2EC93F
split-complementary
#2E6AC9 #C93F2E #B7C92E
monochromatic
#173565 #235097 #2E6AC9 #5B8CD9 #8DAFE5

Accessibility & contrast

On white

5.22
#2E6AC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#2E6AC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6AC9
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6AC9#FFFFFF#000000##FFFFFF
##2E6AC91.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3574CD
Deuteranopia (green-blind)
#0366C7
Tritanopia (blue-blind)
#008190
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #2e6ac9;
/* rgb */ color: rgb(46, 106, 201);
/* oklch */ color: oklch(53.7% 0.161 259.4);
Tailwind
colors: {
  custom: {
    50: '#7d94da',
    500: '#2e6ac9',
    950: '#000000',
  },
}
SCSS
$custom: #2e6ac9;
$custom-light: #7d94da;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6ac9",
  "rgb": {
    "r": 46,
    "g": 106,
    "b": 201
  },
  "hsl": {
    "h": 216.774,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53708,
    "c": 0.16051,
    "h": 259.4
  },
  "luminance": 0.15106
}

Semantic roles & 50–950 ramp

primary
#2E6AC9
secondary
#CFB284
accent
#A642E6
background
#F8F9FD
surface
#EFF1FB
border
#CACBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2E6AC9

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

Preview Lab → · Contrast checker → · Palette generator →

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