#2E43A4#2E43A4

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

Color values

HEX#2E43A4
RGBrgb(46, 67, 164)
HSLhsl(229, 56%, 41%)
HSVhsv(229, 72%, 64%)
CMYKcmyk(72%, 59.1%, 0%, 35.7%)
CIE-LABlab(32.42, 25.99, -54.81)
CIE-LCHlch(32.42, 60.66, 295.37°)
OKLaboklab(42.74% -0.002 -0.158)
OKLCHoklch(42.74% 0.158 269.3)
XYZxyz(9.8324, 7.2745, 36.0007)
Luminance0.0727 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E43A4 #A48F2E
analogous
#2E7EA4 #2E43A4 #542EA4
triadic
#2E43A4 #A42E43 #43A42E
tetradic
#2E43A4 #A42E7E #A48F2E #2EA454
square
#2E43A4 #A42E7E #A48F2E #2EA454
split-complementary
#2E43A4 #A4542E #7EA42E
monochromatic
#131C44 #212F74 #2E43A4 #455CCB #7486D8

Accessibility & contrast

On white

8.55
#2E43A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2E43A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E43A4
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E43A4#FFFFFF#000000##FFFFFF
##2E43A41.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e43a4;
/* rgb */ color: rgb(46, 67, 164);
/* oklch */ color: oklch(42.7% 0.158 269.3);
Tailwind
colors: {
  custom: {
    50: '#7776c0',
    500: '#2e43a4',
    950: '#000000',
  },
}
SCSS
$custom: #2e43a4;
$custom-light: #7776c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e43a4",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 164
  },
  "hsl": {
    "h": 229.322,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.42741,
    "c": 0.15806,
    "h": 269.3
  },
  "luminance": 0.07275
}

Semantic roles & 50–950 ramp

primary
#2E43A4
secondary
#C0B16E
accent
#C548DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2E43A4

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

Preview Lab → · Contrast checker → · Palette generator →

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