#2E5DB6#2E5DB6

#2E5DB6 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.5% C 0.150 H 261.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#2E5DB6
RGBrgb(46, 93, 182)
HSLhsl(219, 60%, 45%)
HSVhsv(219, 75%, 71%)
CMYKcmyk(74.7%, 48.9%, 0%, 28.6%)
CIE-LABlab(40.87, 15.62, -51.81)
CIE-LCHlch(40.87, 54.11, 286.77°)
OKLaboklab(49.55% -0.0218 -0.1488)
OKLCHoklch(49.55% 0.15 261.7)
XYZxyz(13.4815, 11.7854, 45.8112)
Luminance0.1179 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5DB6 #B6872E
analogous
#2EA1B6 #2E5DB6 #432EB6
triadic
#2E5DB6 #B62E5D #5DB62E
tetradic
#2E5DB6 #B62EA1 #B6872E #2EB643
square
#2E5DB6 #B62EA1 #B6872E #2EB643
split-complementary
#2E5DB6 #B6432E #A1B62E
monochromatic
#152B54 #224485 #2E5DB6 #4F7CD2 #80A0DF

Accessibility & contrast

On white

6.25
#2E5DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#2E5DB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5DB6
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5DB6#FFFFFF#000000##FFFFFF
##2E5DB61.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A67B9
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #2e5db6;
/* rgb */ color: rgb(46, 93, 182);
/* oklch */ color: oklch(49.5% 0.150 261.7);
Tailwind
colors: {
  custom: {
    50: '#798acc',
    500: '#2e5db6',
    950: '#000000',
  },
}
SCSS
$custom: #2e5db6;
$custom-light: #798acc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5db6",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 182
  },
  "hsl": {
    "h": 219.265,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49548,
    "c": 0.15038,
    "h": 261.7
  },
  "luminance": 0.11787
}

Semantic roles & 50–950 ramp

primary
#2E5DB6
secondary
#C8AC78
accent
#AC45E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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