#2E5EBF#2E5EBF

#2E5EBF is a mid, vivid blue. Relative luminance 0.123; OKLCH L 50.4% C 0.161 H 262.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#2E5EBF
RGBrgb(46, 94, 191)
HSLhsl(220, 61%, 46%)
HSVhsv(220, 76%, 75%)
CMYKcmyk(75.9%, 50.8%, 0%, 25.1%)
CIE-LABlab(41.76, 18.38, -55.63)
CIE-LCHlch(41.76, 58.59, 288.28°)
OKLaboklab(50.42% -0.0214 -0.16)
OKLCHoklch(50.42% 0.161 262.4)
XYZxyz(14.5300, 12.3462, 50.8974)
Luminance0.1235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EBF #BF8F2E
analogous
#2EA7BF #2E5EBF #472EBF
triadic
#2E5EBF #BF2E5E #5EBF2E
tetradic
#2E5EBF #BF2EA7 #BF8F2E #2EBF47
square
#2E5EBF #BF2EA7 #BF8F2E #2EBF47
split-complementary
#2E5EBF #BF472E #A7BF2E
monochromatic
#162D5C #22468E #2E5EBF #547FD6 #86A4E2

Accessibility & contrast

On white

6.05
#2E5EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#2E5EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EBF
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EBF#FFFFFF#000000##FFFFFF
##2E5EBF1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216AC2
Deuteranopia (green-blind)
#005CBD
Tritanopia (blue-blind)
#007585
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #2e5ebf;
/* rgb */ color: rgb(46, 94, 191);
/* oklch */ color: oklch(50.4% 0.161 262.4);
Tailwind
colors: {
  custom: {
    50: '#7b8bd3',
    500: '#2e5ebf',
    950: '#000000',
  },
}
SCSS
$custom: #2e5ebf;
$custom-light: #7b8bd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5ebf",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 191
  },
  "hsl": {
    "h": 220.138,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50421,
    "c": 0.16145,
    "h": 262.4
  },
  "luminance": 0.12348
}

Semantic roles & 50–950 ramp

primary
#2E5EBF
secondary
#CBB27E
accent
#AF44E4
background
#F8F8FD
surface
#EFF0FA
border
#CACBD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2E5EBF

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

Preview Lab → · Contrast checker → · Palette generator →

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