#2E5DB7#2E5DB7

#2E5DB7 is a mid, vivid blue. Relative luminance 0.118; OKLCH L 49.6% C 0.152 H 261.8°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#2E5DB7
RGBrgb(46, 93, 183)
HSLhsl(219, 60%, 45%)
HSVhsv(219, 75%, 72%)
CMYKcmyk(74.9%, 49.2%, 0%, 28.2%)
CIE-LABlab(40.94, 15.99, -52.29)
CIE-LCHlch(40.94, 54.68, 287.01°)
OKLaboklab(49.62% -0.0216 -0.1502)
OKLCHoklch(49.62% 0.152 261.8)
XYZxyz(13.5852, 11.8269, 46.3574)
Luminance0.1183 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5DB7 #B7882E
analogous
#2EA2B7 #2E5DB7 #442EB7
triadic
#2E5DB7 #B72E5D #5DB72E
tetradic
#2E5DB7 #B72EA2 #B7882E #2EB744
square
#2E5DB7 #B72EA2 #B7882E #2EB744
split-complementary
#2E5DB7 #B7442E #A2B72E
monochromatic
#152B55 #224486 #2E5DB7 #4F7CD3 #80A1DF

Accessibility & contrast

On white

6.24
#2E5DB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #2E5DB7
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5DB7#FFFFFF#000000##FFFFFF
##2E5DB71.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2967BA
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#007281
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e5db7;
/* rgb */ color: rgb(46, 93, 183);
/* oklch */ color: oklch(49.6% 0.152 261.8);
Tailwind
colors: {
  custom: {
    50: '#7a8acd',
    500: '#2e5db7',
    950: '#000000',
  },
}
SCSS
$custom: #2e5db7;
$custom-light: #7a8acd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5db7",
  "rgb": {
    "r": 46,
    "g": 93,
    "b": 183
  },
  "hsl": {
    "h": 219.416,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4962,
    "c": 0.15176,
    "h": 261.8
  },
  "luminance": 0.11828
}

Semantic roles & 50–950 ramp

primary
#2E5DB7
secondary
#C8AD79
accent
#AD45E3
background
#F8F8FC
surface
#EFF0F9
border
#CACBD2
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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