#2E56BF#2E56BF

#2E56BF is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.8% C 0.171 H 264.9°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#2E56BF
RGBrgb(46, 86, 191)
HSLhsl(223, 61%, 46%)
HSVhsv(223, 76%, 75%)
CMYKcmyk(75.9%, 55%, 0%, 25.1%)
CIE-LABlab(39.57, 23.60, -59.17)
CIE-LCHlch(39.57, 63.70, 291.74°)
OKLaboklab(48.76% -0.0152 -0.1706)
OKLCHoklch(48.76% 0.171 264.9)
XYZxyz(13.8551, 10.9965, 50.6724)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E56BF #BF972E
analogous
#2E9FBF #2E56BF #4F2EBF
triadic
#2E56BF #BF2E56 #56BF2E
tetradic
#2E56BF #BF2E9F #BF972E #2EBF4F
square
#2E56BF #BF2E9F #BF972E #2EBF4F
split-complementary
#2E56BF #BF4F2E #9FBF2E
monochromatic
#162A5C #22408E #2E56BF #5478D6 #869FE2

Accessibility & contrast

On white

6.56
#2E56BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#2E56BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E56BF
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E56BF#FFFFFF#000000##FFFFFF
##2E56BF1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C3
Deuteranopia (green-blind)
#0057BD
Tritanopia (blue-blind)
#007082
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e56bf;
/* rgb */ color: rgb(46, 86, 191);
/* oklch */ color: oklch(48.8% 0.171 264.9);
Tailwind
colors: {
  custom: {
    50: '#7c85d3',
    500: '#2e56bf',
    950: '#000000',
  },
}
SCSS
$custom: #2e56bf;
$custom-light: #7c85d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e56bf",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 191
  },
  "hsl": {
    "h": 223.448,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48761,
    "c": 0.17127,
    "h": 264.9
  },
  "luminance": 0.10998
}

Semantic roles & 50–950 ramp

primary
#2E56BF
secondary
#CBB67E
accent
#B844E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2E56BF

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

Preview Lab → · Contrast checker → · Palette generator →

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