#2E5DC2#2E5DC2

#2E5DC2 is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.167 H 263.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#2E5DC2
RGBrgb(46, 93, 194)
HSLhsl(221, 62%, 47%)
HSVhsv(221, 76%, 76%)
CMYKcmyk(76.3%, 52.1%, 0%, 23.9%)
CIE-LABlab(41.69, 20.17, -57.48)
CIE-LCHlch(41.69, 60.92, 289.33°)
OKLaboklab(50.44% -0.0203 -0.1655)
OKLCHoklch(50.44% 0.167 263)
XYZxyz(14.7752, 12.3029, 52.6245)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5DC2 #C2932E
analogous
#2EA7C2 #2E5DC2 #492EC2
triadic
#2E5DC2 #C22E5D #5DC22E
tetradic
#2E5DC2 #C22EA7 #C2932E #2EC249
square
#2E5DC2 #C22EA7 #C2932E #2EC249
split-complementary
#2E5DC2 #C2492E #A7C22E
monochromatic
#172E5F #224591 #2E5DC2 #567FD7 #88A5E3

Accessibility & contrast

On white

6.07
#2E5DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#2E5DC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5DC2
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5DC2#FFFFFF#000000##FFFFFF
##2E5DC21.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186AC6
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#007586
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e5dc2;
/* rgb */ color: rgb(46, 93, 194);
/* oklch */ color: oklch(50.4% 0.167 263.0);
Tailwind
colors: {
  custom: {
    50: '#7c8ad5',
    500: '#2e5dc2',
    950: '#000000',
  },
}
SCSS
$custom: #2e5dc2;
$custom-light: #7c8ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5dc2",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 220.946,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50436,
    "c": 0.16674,
    "h": 263
  },
  "luminance": 0.12305
}

Semantic roles & 50–950 ramp

primary
#2E5DC2
secondary
#CCB47F
accent
#B143E5
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2E5DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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