#2E5DC0#2E5DC0

#2E5DC0 is a mid, vivid blue. Relative luminance 0.122; OKLCH L 50.3% C 0.164 H 262.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2E5DC0
RGBrgb(46, 93, 192)
HSLhsl(221, 61%, 47%)
HSVhsv(221, 76%, 75%)
CMYKcmyk(76%, 51.6%, 0%, 24.7%)
CIE-LABlab(41.55, 19.41, -56.55)
CIE-LCHlch(41.55, 59.78, 288.94°)
OKLaboklab(50.29% -0.0205 -0.1627)
OKLCHoklch(50.29% 0.164 262.8)
XYZxyz(14.5521, 12.2137, 51.4495)
Luminance0.1221 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5DC0 #C0912E
analogous
#2EA6C0 #2E5DC0 #482EC0
triadic
#2E5DC0 #C02E5D #5DC02E
tetradic
#2E5DC0 #C02EA6 #C0912E #2EC048
square
#2E5DC0 #C02EA6 #C0912E #2EC048
split-complementary
#2E5DC0 #C0482E #A6C02E
monochromatic
#162D5D #22458F #2E5DC0 #557FD6 #86A4E2

Accessibility & contrast

On white

6.10
#2E5DC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#2E5DC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5DC0
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5DC0#FFFFFF#000000##FFFFFF
##2E5DC01.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C69C4
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #2e5dc0;
/* rgb */ color: rgb(46, 93, 192);
/* oklch */ color: oklch(50.3% 0.164 262.8);
Tailwind
colors: {
  custom: {
    50: '#7c8ad4',
    500: '#2e5dc0',
    950: '#000000',
  },
}
SCSS
$custom: #2e5dc0;
$custom-light: #7c8ad4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5dc0",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 192
  },
  "hsl": {
    "h": 220.685,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.50285,
    "c": 0.16403,
    "h": 262.8
  },
  "luminance": 0.12215
}

Semantic roles & 50–950 ramp

primary
#2E5DC0
secondary
#CCB37E
accent
#B143E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2E5DC0

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

Preview Lab → · Contrast checker → · Palette generator →

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