#2E5BAD#2E5BAD

#2E5BAD is a mid, vivid blue. Relative luminance 0.111; OKLCH L 48.5% C 0.140 H 261.2°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#2E5BAD
RGBrgb(46, 91, 173)
HSLhsl(219, 58%, 43%)
HSVhsv(219, 73%, 68%)
CMYKcmyk(73.4%, 47.4%, 0%, 32.2%)
CIE-LABlab(39.71, 13.50, -48.38)
CIE-LCHlch(39.71, 50.23, 285.59°)
OKLaboklab(48.47% -0.0214 -0.1388)
OKLCHoklch(48.47% 0.14 261.2)
XYZxyz(12.4079, 11.0788, 41.0116)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5BAD #AD802E
analogous
#2E9AAD #2E5BAD #402EAD
triadic
#2E5BAD #AD2E5B #5BAD2E
tetradic
#2E5BAD #AD2E9A #AD802E #2EAD40
square
#2E5BAD #AD2E9A #AD802E #2EAD40
split-complementary
#2E5BAD #AD402E #9AAD2E
monochromatic
#14284C #21427D #2E5BAD #4979CF #7A9CDC

Accessibility & contrast

On white

6.53
#2E5BAD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#2E5BAD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E5BAD
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5BAD#FFFFFF#000000##FFFFFF
##2E5BAD1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F64B0
Deuteranopia (green-blind)
#0F58AB
Tritanopia (blue-blind)
#006E7B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #2e5bad;
/* rgb */ color: rgb(46, 91, 173);
/* oklch */ color: oklch(48.5% 0.140 261.2);
Tailwind
colors: {
  custom: {
    50: '#7888c6',
    500: '#2e5bad',
    950: '#000000',
  },
}
SCSS
$custom: #2e5bad;
$custom-light: #7888c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5bad",
  "rgb": {
    "r": 46,
    "g": 91,
    "b": 173
  },
  "hsl": {
    "h": 218.74,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48469,
    "c": 0.14039,
    "h": 261.2
  },
  "luminance": 0.1108
}

Semantic roles & 50–950 ramp

primary
#2E5BAD
secondary
#C4A773
accent
#AA47E1
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E5BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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