#2E56D3#2E56D3

#2E56D3 is a mid, vivid blue. Relative luminance 0.119; OKLCH L 50.4% C 0.198 H 265.8°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#2E56D3
RGBrgb(46, 86, 211)
HSLhsl(225, 65%, 50%)
HSVhsv(225, 78%, 83%)
CMYKcmyk(78.2%, 59.2%, 0%, 17.3%)
CIE-LABlab(41.12, 31.08, -68.24)
CIE-LCHlch(41.12, 74.98, 294.48°)
OKLaboklab(50.4% -0.0143 -0.1972)
OKLCHoklch(50.4% 0.198 265.8)
XYZxyz(16.2082, 11.9377, 63.0654)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E56D3 #D3AB2E
analogous
#2EA8D3 #2E56D3 #592ED3
triadic
#2E56D3 #D32E56 #56D32E
tetradic
#2E56D3 #D32EA8 #D3AB2E #2ED359
square
#2E56D3 #D32EA8 #D3AB2E #2ED359
split-complementary
#2E56D3 #D3592E #A8D32E
monochromatic
#172D6F #2241A2 #2E56D3 #617FDE #93A8E8

Accessibility & contrast

On white

6.20
#2E56D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#2E56D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E56D3
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E56D3#FFFFFF#000000##FFFFFF
##2E56D31.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#005AD1
Tritanopia (blue-blind)
#00768C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #2e56d3;
/* rgb */ color: rgb(46, 86, 211);
/* oklch */ color: oklch(50.4% 0.198 265.8);
Tailwind
colors: {
  custom: {
    50: '#8085e1',
    500: '#2e56d3',
    950: '#000000',
  },
}
SCSS
$custom: #2e56d3;
$custom-light: #8085e1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e56d3",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 211
  },
  "hsl": {
    "h": 225.455,
    "s": 65.217,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50402,
    "c": 0.19774,
    "h": 265.8
  },
  "luminance": 0.1194
}

Semantic roles & 50–950 ramp

primary
#2E56D3
secondary
#D3C18A
accent
#BF40E8
background
#F8F8FD
surface
#F0EFFB
border
#CBCAD4
text
#0C0B15
muted
#7D7C83

Preview Lab

Preview with #2E56D3

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

Preview Lab → · Contrast checker → · Palette generator →

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