#2E43A9#2E43A9

#2E43A9 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.2% C 0.165 H 269.3°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#2E43A9
RGBrgb(46, 67, 169)
HSLhsl(230, 57%, 42%)
HSVhsv(230, 73%, 66%)
CMYKcmyk(72.8%, 60.4%, 0%, 33.7%)
CIE-LABlab(32.83, 27.85, -57.15)
CIE-LCHlch(32.83, 63.57, 295.99°)
OKLaboklab(43.17% -0.002 -0.1649)
OKLCHoklch(43.17% 0.165 269.3)
XYZxyz(10.2928, 7.4587, 38.4256)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E43A9 #A9942E
analogous
#2E81A9 #2E43A9 #572EA9
triadic
#2E43A9 #A92E43 #43A92E
tetradic
#2E43A9 #A92E81 #A9942E #2EA957
square
#2E43A9 #A92E81 #A9942E #2EA957
split-complementary
#2E43A9 #A9572E #81A92E
monochromatic
#141D49 #213079 #2E43A9 #475ECD #7788DA

Accessibility & contrast

On white

8.43
#2E43A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2E43A9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E43A9
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E43A9#FFFFFF#000000##FFFFFF
##2E43A91.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AC
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#005D6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e43a9;
/* rgb */ color: rgb(46, 67, 169);
/* oklch */ color: oklch(43.2% 0.165 269.3);
Tailwind
colors: {
  custom: {
    50: '#7876c3',
    500: '#2e43a9',
    950: '#000000',
  },
}
SCSS
$custom: #2e43a9;
$custom-light: #7876c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e43a9",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 169
  },
  "hsl": {
    "h": 229.756,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43169,
    "c": 0.16493,
    "h": 269.3
  },
  "luminance": 0.0746
}

Semantic roles & 50–950 ramp

primary
#2E43A9
secondary
#C2B471
accent
#C647E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2E43A9

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

Preview Lab → · Contrast checker → · Palette generator →

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