#2E56BC#2E56BC

#2E56BC is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.5% C 0.167 H 264.7°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#2E56BC
RGBrgb(46, 86, 188)
HSLhsl(223, 61%, 46%)
HSVhsv(223, 76%, 74%)
CMYKcmyk(75.5%, 54.3%, 0%, 26.3%)
CIE-LABlab(39.35, 22.47, -57.78)
CIE-LCHlch(39.35, 61.99, 291.25°)
OKLaboklab(48.53% -0.0155 -0.1665)
OKLCHoklch(48.53% 0.167 264.7)
XYZxyz(13.5284, 10.8658, 48.9515)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E56BC #BC942E
analogous
#2E9DBC #2E56BC #4D2EBC
triadic
#2E56BC #BC2E56 #56BC2E
tetradic
#2E56BC #BC2E9D #BC942E #2EBC4D
square
#2E56BC #BC2E9D #BC942E #2EBC4D
split-complementary
#2E56BC #BC4D2E #9DBC2E
monochromatic
#16295A #22408B #2E56BC #5277D5 #849EE1

Accessibility & contrast

On white

6.62
#2E56BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#2E56BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E56BC
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E56BC#FFFFFF#000000##FFFFFF
##2E56BC1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C0
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#006F80
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e56bc;
/* rgb */ color: rgb(46, 86, 188);
/* oklch */ color: oklch(48.5% 0.167 264.7);
Tailwind
colors: {
  custom: {
    50: '#7b85d1',
    500: '#2e56bc',
    950: '#000000',
  },
}
SCSS
$custom: #2e56bc;
$custom-light: #7b85d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e56bc",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 188
  },
  "hsl": {
    "h": 223.099,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.48525,
    "c": 0.16721,
    "h": 264.7
  },
  "luminance": 0.10867
}

Semantic roles & 50–950 ramp

primary
#2E56BC
secondary
#CAB47C
accent
#B744E4
background
#F8F8FC
surface
#EFEFF9
border
#CACAD2
text
#0B0B14
muted
#7C7C82

Preview Lab

Preview with #2E56BC

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

Preview Lab → · Contrast checker → · Palette generator →

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