#2E56BD#2E56BD

#2E56BD is a mid, vivid blue. Relative luminance 0.109; OKLCH L 48.6% C 0.169 H 264.8°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#2E56BD
RGBrgb(46, 86, 189)
HSLhsl(223, 61%, 46%)
HSVhsv(223, 76%, 74%)
CMYKcmyk(75.7%, 54.5%, 0%, 25.9%)
CIE-LABlab(39.43, 22.84, -58.24)
CIE-LCHlch(39.43, 62.56, 291.42°)
OKLaboklab(48.6% -0.0154 -0.1679)
OKLCHoklch(48.6% 0.169 264.8)
XYZxyz(13.6366, 10.9090, 49.5212)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E56BD #BD952E
analogous
#2E9DBD #2E56BD #4D2EBD
triadic
#2E56BD #BD2E56 #56BD2E
tetradic
#2E56BD #BD2E9D #BD952E #2EBD4D
square
#2E56BD #BD2E9D #BD952E #2EBD4D
split-complementary
#2E56BD #BD4D2E #9DBD2E
monochromatic
#16295B #22408C #2E56BD #5377D5 #849EE1

Accessibility & contrast

On white

6.60
#2E56BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#2E56BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E56BD
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E56BD#FFFFFF#000000##FFFFFF
##2E56BD1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C1
Deuteranopia (green-blind)
#0057BB
Tritanopia (blue-blind)
#006F81
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #2e56bd;
/* rgb */ color: rgb(46, 86, 189);
/* oklch */ color: oklch(48.6% 0.169 264.8);
Tailwind
colors: {
  custom: {
    50: '#7b85d2',
    500: '#2e56bd',
    950: '#000000',
  },
}
SCSS
$custom: #2e56bd;
$custom-light: #7b85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e56bd",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 189
  },
  "hsl": {
    "h": 223.217,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.48603,
    "c": 0.16856,
    "h": 264.8
  },
  "luminance": 0.10911
}

Semantic roles & 50–950 ramp

primary
#2E56BD
secondary
#CAB57C
accent
#B744E4
background
#F8F8FD
surface
#EFEFFA
border
#CACAD3
text
#0B0B14
muted
#7C7C83

Preview Lab

Preview with #2E56BD

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

Preview Lab → · Contrast checker → · Palette generator →

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