#2E6BC9#2E6BC9

#2E6BC9 is a mid, vivid blue. Relative luminance 0.153; OKLCH L 53.9% C 0.159 H 259.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#2E6BC9
RGBrgb(46, 107, 201)
HSLhsl(216, 63%, 48%)
HSVhsv(216, 77%, 79%)
CMYKcmyk(77.1%, 46.8%, 0%, 21.2%)
CIE-LABlab(46.06, 13.80, -54.48)
CIE-LCHlch(46.06, 56.20, 284.21°)
OKLaboklab(53.93% -0.0303 -0.1564)
OKLCHoklch(53.93% 0.159 259)
XYZxyz(16.9232, 15.3113, 57.3105)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E6BC9 #C98C2E
analogous
#2EB8C9 #2E6BC9 #3E2EC9
triadic
#2E6BC9 #C92E6B #6BC92E
tetradic
#2E6BC9 #C92EB8 #C98C2E #2EC93E
square
#2E6BC9 #C92EB8 #C98C2E #2EC93E
split-complementary
#2E6BC9 #C93E2E #B8C92E
monochromatic
#173665 #235097 #2E6BC9 #5B8DD9 #8DAFE5

Accessibility & contrast

On white

5.17
#2E6BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#2E6BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E6BC9
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E6BC9#FFFFFF#000000##FFFFFF
##2E6BC91.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3875CD
Deuteranopia (green-blind)
#0B66C7
Tritanopia (blue-blind)
#008190
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #2e6bc9;
/* rgb */ color: rgb(46, 107, 201);
/* oklch */ color: oklch(53.9% 0.159 259.0);
Tailwind
colors: {
  custom: {
    50: '#7d94da',
    500: '#2e6bc9',
    950: '#000000',
  },
}
SCSS
$custom: #2e6bc9;
$custom-light: #7d94da;
$custom-dark: #000000;
JSON
{
  "hex": "#2e6bc9",
  "rgb": {
    "r": 46,
    "g": 107,
    "b": 201
  },
  "hsl": {
    "h": 216.387,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.53925,
    "c": 0.15934,
    "h": 259
  },
  "luminance": 0.15313
}

Semantic roles & 50–950 ramp

primary
#2E6BC9
secondary
#CFB184
accent
#A542E6
background
#F8F9FD
surface
#EFF1FB
border
#CACBD4
text
#0B0D15
muted
#7C7E83

Preview Lab

Preview with #2E6BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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