#2E43A5#2E43A5

#2E43A5 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.8% C 0.159 H 269.3°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#2E43A5
RGBrgb(46, 67, 165)
HSLhsl(229, 56%, 41%)
HSVhsv(229, 72%, 65%)
CMYKcmyk(72.1%, 59.4%, 0%, 35.3%)
CIE-LABlab(32.50, 26.37, -55.28)
CIE-LCHlch(32.50, 61.24, 295.50°)
OKLaboklab(42.83% -0.002 -0.1594)
OKLCHoklch(42.83% 0.159 269.3)
XYZxyz(9.9231, 7.3108, 36.4782)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E43A5 #A5902E
analogous
#2E7FA5 #2E43A5 #552EA5
triadic
#2E43A5 #A52E43 #43A52E
tetradic
#2E43A5 #A52E7F #A5902E #2EA555
square
#2E43A5 #A52E7F #A5902E #2EA555
split-complementary
#2E43A5 #A5552E #7FA52E
monochromatic
#131C45 #213075 #2E43A5 #455DCB #7586D8

Accessibility & contrast

On white

8.53
#2E43A5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2E43A5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E43A5
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E43A5#FFFFFF#000000##FFFFFF
##2E43A51.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A8
Deuteranopia (green-blind)
#0047A3
Tritanopia (blue-blind)
#005B6D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e43a5;
/* rgb */ color: rgb(46, 67, 165);
/* oklch */ color: oklch(42.8% 0.159 269.3);
Tailwind
colors: {
  custom: {
    50: '#7776c0',
    500: '#2e43a5',
    950: '#000000',
  },
}
SCSS
$custom: #2e43a5;
$custom-light: #7776c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e43a5",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 165
  },
  "hsl": {
    "h": 229.412,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.42826,
    "c": 0.15944,
    "h": 269.3
  },
  "luminance": 0.07312
}

Semantic roles & 50–950 ramp

primary
#2E43A5
secondary
#C0B26F
accent
#C548E0
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2E43A5

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

Preview Lab → · Contrast checker → · Palette generator →

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