#2E56AF#2E56AF

#2E56AF is a mid, vivid blue. Relative luminance 0.103; OKLCH L 47.5% C 0.149 H 263.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#2E56AF
RGBrgb(46, 86, 175)
HSLhsl(221, 58%, 43%)
HSVhsv(221, 74%, 69%)
CMYKcmyk(73.7%, 50.9%, 0%, 31.4%)
CIE-LABlab(38.43, 17.54, -51.63)
CIE-LCHlch(38.43, 54.53, 288.76°)
OKLaboklab(47.53% -0.0168 -0.1484)
OKLCHoklch(47.53% 0.149 263.5)
XYZxyz(12.1896, 10.3302, 41.9006)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E56AF #AF872E
analogous
#2E96AF #2E56AF #462EAF
triadic
#2E56AF #AF2E56 #56AF2E
tetradic
#2E56AF #AF2E96 #AF872E #2EAF46
square
#2E56AF #AF2E96 #AF872E #2EAF46
split-complementary
#2E56AF #AF462E #96AF2E
monochromatic
#15264E #213E7F #2E56AF #4B74D0 #7B99DC

Accessibility & contrast

On white

6.85
#2E56AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#2E56AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2E56AF
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E56AF#FFFFFF#000000##FFFFFF
##2E56AF1.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2061B2
Deuteranopia (green-blind)
#0055AD
Tritanopia (blue-blind)
#006B7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #2e56af;
/* rgb */ color: rgb(46, 86, 175);
/* oklch */ color: oklch(47.5% 0.149 263.5);
Tailwind
colors: {
  custom: {
    50: '#7885c7',
    500: '#2e56af',
    950: '#000000',
  },
}
SCSS
$custom: #2e56af;
$custom-light: #7885c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e56af",
  "rgb": {
    "r": 46,
    "g": 86,
    "b": 175
  },
  "hsl": {
    "h": 221.395,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.47529,
    "c": 0.14936,
    "h": 263.5
  },
  "luminance": 0.10332
}

Semantic roles & 50–950 ramp

primary
#2E56AF
secondary
#C5AC74
accent
#B146E2
background
#F7F8FC
surface
#EEEFF8
border
#C9CAD1
text
#0A0B13
muted
#7C7C82

Preview Lab

Preview with #2E56AF

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

Preview Lab → · Contrast checker → · Palette generator →

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