#2E5DC6#2E5DC6

#2E5DC6 is a mid, vivid blue. Relative luminance 0.125; OKLCH L 50.7% C 0.172 H 263.4°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#2E5DC6
RGBrgb(46, 93, 198)
HSLhsl(221, 62%, 48%)
HSVhsv(221, 77%, 78%)
CMYKcmyk(76.8%, 53%, 0%, 22.4%)
CIE-LABlab(41.98, 21.68, -59.34)
CIE-LCHlch(41.98, 63.18, 290.07°)
OKLaboklab(50.74% -0.0198 -0.171)
OKLCHoklch(50.74% 0.172 263.4)
XYZxyz(15.2305, 12.4850, 55.0223)
Luminance0.1249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5DC6 #C6972E
analogous
#2EA9C6 #2E5DC6 #4B2EC6
triadic
#2E5DC6 #C62E5D #5DC62E
tetradic
#2E5DC6 #C62EA9 #C6972E #2EC64B
square
#2E5DC6 #C62EA9 #C6972E #2EC64B
split-complementary
#2E5DC6 #C64B2E #A9C62E
monochromatic
#172E63 #224694 #2E5DC6 #5980D8 #8AA6E4

Accessibility & contrast

On white

6.00
#2E5DC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#2E5DC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5DC6
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5DC6#FFFFFF#000000##FFFFFF
##2E5DC61.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6ACA
Deuteranopia (green-blind)
#005CC4
Tritanopia (blue-blind)
#007788
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e5dc6;
/* rgb */ color: rgb(46, 93, 198);
/* oklch */ color: oklch(50.7% 0.172 263.4);
Tailwind
colors: {
  custom: {
    50: '#7d8ad8',
    500: '#2e5dc6',
    950: '#000000',
  },
}
SCSS
$custom: #2e5dc6;
$custom-light: #7d8ad8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5dc6",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 198
  },
  "hsl": {
    "h": 221.447,
    "s": 62.295,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50741,
    "c": 0.17212,
    "h": 263.4
  },
  "luminance": 0.12487
}

Semantic roles & 50–950 ramp

primary
#2E5DC6
secondary
#CEB682
accent
#B342E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B15
muted
#7C7C83

Preview Lab

Preview with #2E5DC6

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

Preview Lab → · Contrast checker → · Palette generator →

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