#2E5EB7#2E5EB7

#2E5EB7 is a mid, vivid blue. Relative luminance 0.120; OKLCH L 49.8% C 0.151 H 261.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#2E5EB7
RGBrgb(46, 94, 183)
HSLhsl(219, 60%, 45%)
HSVhsv(219, 75%, 72%)
CMYKcmyk(74.9%, 48.6%, 0%, 28.2%)
CIE-LABlab(41.22, 15.34, -51.83)
CIE-LCHlch(41.22, 54.06, 286.49°)
OKLaboklab(49.84% -0.0225 -0.1488)
OKLCHoklch(49.84% 0.151 261.4)
XYZxyz(13.6736, 12.0036, 46.3869)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EB7 #B7872E
analogous
#2EA3B7 #2E5EB7 #432EB7
triadic
#2E5EB7 #B72E5E #5EB72E
tetradic
#2E5EB7 #B72EA3 #B7872E #2EB743
square
#2E5EB7 #B72EA3 #B7872E #2EB743
split-complementary
#2E5EB7 #B7432E #A3B72E
monochromatic
#152C55 #224586 #2E5EB7 #4F7DD3 #80A2DF

Accessibility & contrast

On white

6.17
#2E5EB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#2E5EB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EB7
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EB7#FFFFFF#000000##FFFFFF
##2E5EB71.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C68BA
Deuteranopia (green-blind)
#005BB5
Tritanopia (blue-blind)
#007382
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e5eb7;
/* rgb */ color: rgb(46, 94, 183);
/* oklch */ color: oklch(49.8% 0.151 261.4);
Tailwind
colors: {
  custom: {
    50: '#7a8bcd',
    500: '#2e5eb7',
    950: '#000000',
  },
}
SCSS
$custom: #2e5eb7;
$custom-light: #7a8bcd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5eb7",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 183
  },
  "hsl": {
    "h": 218.978,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49836,
    "c": 0.15053,
    "h": 261.4
  },
  "luminance": 0.12005
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E5EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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