#2E5EB5#2E5EB5

#2E5EB5 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 49.7% C 0.148 H 261.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#2E5EB5
RGBrgb(46, 94, 181)
HSLhsl(219, 59%, 45%)
HSVhsv(219, 75%, 71%)
CMYKcmyk(74.6%, 48.1%, 0%, 29%)
CIE-LABlab(41.09, 14.58, -50.87)
CIE-LCHlch(41.09, 52.92, 286.00°)
OKLaboklab(49.69% -0.0228 -0.146)
OKLCHoklch(49.69% 0.148 261.1)
XYZxyz(13.4669, 11.9210, 45.2983)
Luminance0.1192 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5EB5 #B5852E
analogous
#2EA1B5 #2E5EB5 #422EB5
triadic
#2E5EB5 #B52E5E #5EB52E
tetradic
#2E5EB5 #B52EA1 #B5852E #2EB542
square
#2E5EB5 #B52EA1 #B5852E #2EB542
split-complementary
#2E5EB5 #B5422E #A1B52E
monochromatic
#152B53 #224584 #2E5EB5 #4E7DD2 #7FA1DE

Accessibility & contrast

On white

6.20
#2E5EB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#2E5EB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5EB5
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5EB5#FFFFFF#000000##FFFFFF
##2E5EB51.006.203.386.20
#FFFFFF6.201.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E67B8
Deuteranopia (green-blind)
#035BB3
Tritanopia (blue-blind)
#007381
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e5eb5;
/* rgb */ color: rgb(46, 94, 181);
/* oklch */ color: oklch(49.7% 0.148 261.1);
Tailwind
colors: {
  custom: {
    50: '#798bcc',
    500: '#2e5eb5',
    950: '#000000',
  },
}
SCSS
$custom: #2e5eb5;
$custom-light: #798bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5eb5",
  "rgb": {
    "r": 46,
    "g": 94,
    "b": 181
  },
  "hsl": {
    "h": 218.667,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49693,
    "c": 0.14779,
    "h": 261.1
  },
  "luminance": 0.11922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E5EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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