#2E5EB6#2E5EB6

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

Color values

HEX#2E5EB6
RGBrgb(46, 94, 182)
HSLhsl(219, 60%, 45%)
HSVhsv(219, 75%, 71%)
CMYKcmyk(74.7%, 48.4%, 0%, 28.6%)
CIE-LABlab(41.16, 14.96, -51.35)
CIE-LCHlch(41.16, 53.49, 286.25°)
OKLaboklab(49.77% -0.0226 -0.1474)
OKLCHoklch(49.77% 0.149 261.3)
XYZxyz(13.5699, 11.9621, 45.8407)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EB6 #B6862E
analogous
#2EA2B6 #2E5EB6 #422EB6
triadic
#2E5EB6 #B62E5E #5EB62E
tetradic
#2E5EB6 #B62EA2 #B6862E #2EB642
square
#2E5EB6 #B62EA2 #B6862E #2EB642
split-complementary
#2E5EB6 #B6422E #A2B62E
monochromatic
#152C54 #224585 #2E5EB6 #4F7DD2 #80A1DF

Accessibility & contrast

On white

6.19
#2E5EB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2E5EB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EB6
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EB6#FFFFFF#000000##FFFFFF
##2E5EB61.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D68B9
Deuteranopia (green-blind)
#005BB4
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e5eb6;
/* rgb */ color: rgb(46, 94, 182);
/* oklch */ color: oklch(49.8% 0.149 261.3);
Tailwind
colors: {
  custom: {
    50: '#798bcc',
    500: '#2e5eb6',
    950: '#000000',
  },
}
SCSS
$custom: #2e5eb6;
$custom-light: #798bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5eb6",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 182
  },
  "hsl": {
    "h": 218.824,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49765,
    "c": 0.14916,
    "h": 261.3
  },
  "luminance": 0.11964
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E5EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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