#2E56BB#2E56BB

#2E56BB is a mid, vivid blue. Relative luminance 0.108; OKLCH L 48.4% C 0.166 H 264.6°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#2E56BB
RGBrgb(46, 86, 187)
HSLhsl(223, 61%, 46%)
HSVhsv(223, 75%, 73%)
CMYKcmyk(75.4%, 54%, 0%, 26.7%)
CIE-LABlab(39.28, 22.09, -57.31)
CIE-LCHlch(39.28, 61.42, 291.08°)
OKLaboklab(48.45% -0.0156 -0.1651)
OKLCHoklch(48.45% 0.166 264.6)
XYZxyz(13.4210, 10.8228, 48.3858)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E56BB #BB932E
analogous
#2E9CBB #2E56BB #4D2EBB
triadic
#2E56BB #BB2E56 #56BB2E
tetradic
#2E56BB #BB2E9C #BB932E #2EBB4D
square
#2E56BB #BB2E9C #BB932E #2EBB4D
split-complementary
#2E56BB #BB4D2E #9CBB2E
monochromatic
#162959 #223F8A #2E56BB #5277D4 #839DE0

Accessibility & contrast

On white

6.64
#2E56BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#2E56BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E56BB
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E56BB#FFFFFF#000000##FFFFFF
##2E56BB1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0163BF
Deuteranopia (green-blind)
#0056B9
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e56bb;
/* rgb */ color: rgb(46, 86, 187);
/* oklch */ color: oklch(48.4% 0.166 264.6);
Tailwind
colors: {
  custom: {
    50: '#7b85d0',
    500: '#2e56bb',
    950: '#000000',
  },
}
SCSS
$custom: #2e56bb;
$custom-light: #7b85d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e56bb",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 222.979,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.48446,
    "c": 0.16585,
    "h": 264.6
  },
  "luminance": 0.10824
}

Semantic roles & 50–950 ramp

primary
#2E56BB
secondary
#CAB37B
accent
#B644E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E56BB

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

Preview Lab → · Contrast checker → · Palette generator →

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