#2E5DB8#2E5DB8

#2E5DB8 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.7% C 0.153 H 261.9°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#2E5DB8
RGBrgb(46, 93, 184)
HSLhsl(220, 60%, 45%)
HSVhsv(220, 75%, 72%)
CMYKcmyk(75%, 49.5%, 0%, 27.8%)
CIE-LABlab(41.01, 16.37, -52.76)
CIE-LCHlch(41.01, 55.25, 287.24°)
OKLaboklab(49.69% -0.0215 -0.1516)
OKLCHoklch(49.69% 0.153 261.9)
XYZxyz(13.6897, 11.8687, 46.9075)
Luminance0.1187 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5DB8 #B8892E
analogous
#2EA2B8 #2E5DB8 #442EB8
triadic
#2E5DB8 #B82E5D #5DB82E
tetradic
#2E5DB8 #B82EA2 #B8892E #2EB844
square
#2E5DB8 #B82EA2 #B8892E #2EB844
split-complementary
#2E5DB8 #B8442E #A2B82E
monochromatic
#162C56 #224487 #2E5DB8 #507DD3 #81A1DF

Accessibility & contrast

On white

6.22
#2E5DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#2E5DB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5DB8
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5DB8#FFFFFF#000000##FFFFFF
##2E5DB81.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2867BB
Deuteranopia (green-blind)
#005BB6
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e5db8;
/* rgb */ color: rgb(46, 93, 184);
/* oklch */ color: oklch(49.7% 0.153 261.9);
Tailwind
colors: {
  custom: {
    50: '#7a8ace',
    500: '#2e5db8',
    950: '#000000',
  },
}
SCSS
$custom: #2e5db8;
$custom-light: #7a8ace;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5db8",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 184
  },
  "hsl": {
    "h": 219.565,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49693,
    "c": 0.15313,
    "h": 261.9
  },
  "luminance": 0.1187
}

Semantic roles & 50–950 ramp

primary
#2E5DB8
secondary
#C8AE79
accent
#AD45E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E5DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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