#2E56BE#2E56BE

#2E56BE is a mid, vivid blue. Relative luminance 0.110; OKLCH L 48.7% C 0.170 H 264.8°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#2E56BE
RGBrgb(46, 86, 190)
HSLhsl(223, 61%, 46%)
HSVhsv(223, 76%, 75%)
CMYKcmyk(75.8%, 54.7%, 0%, 25.5%)
CIE-LABlab(39.50, 23.22, -58.71)
CIE-LCHlch(39.50, 63.13, 291.58°)
OKLaboklab(48.68% -0.0153 -0.1692)
OKLCHoklch(48.68% 0.17 264.8)
XYZxyz(13.7455, 10.9526, 50.0948)
Luminance0.1095 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E56BE #BE962E
analogous
#2E9EBE #2E56BE #4E2EBE
triadic
#2E56BE #BE2E56 #56BE2E
tetradic
#2E56BE #BE2E9E #BE962E #2EBE4E
square
#2E56BE #BE2E9E #BE962E #2EBE4E
split-complementary
#2E56BE #BE4E2E #9EBE2E
monochromatic
#16295B #22408D #2E56BE #5478D6 #859FE1

Accessibility & contrast

On white

6.58
#2E56BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#2E56BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E56BE
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E56BE#FFFFFF#000000##FFFFFF
##2E56BE1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e56be;
/* rgb */ color: rgb(46, 86, 190);
/* oklch */ color: oklch(48.7% 0.170 264.8);
Tailwind
colors: {
  custom: {
    50: '#7c85d2',
    500: '#2e56be',
    950: '#000000',
  },
}
SCSS
$custom: #2e56be;
$custom-light: #7c85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e56be",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 190
  },
  "hsl": {
    "h": 223.333,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48682,
    "c": 0.16992,
    "h": 264.8
  },
  "luminance": 0.10954
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E56BE

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

Preview Lab → · Contrast checker → · Palette generator →

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