#2E43AA#2E43AA

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

Color values

HEX#2E43AA
RGBrgb(46, 67, 170)
HSLhsl(230, 57%, 42%)
HSVhsv(230, 73%, 67%)
CMYKcmyk(72.9%, 60.6%, 0%, 33.3%)
CIE-LABlab(32.91, 28.23, -57.61)
CIE-LCHlch(32.91, 64.15, 296.10°)
OKLaboklab(43.26% -0.002 -0.1663)
OKLCHoklch(43.26% 0.166 269.3)
XYZxyz(10.3871, 7.4964, 38.9219)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E43AA #AA952E
analogous
#2E81AA #2E43AA #572EAA
triadic
#2E43AA #AA2E43 #43AA2E
tetradic
#2E43AA #AA2E81 #AA952E #2EAA57
square
#2E43AA #AA2E81 #AA952E #2EAA57
split-complementary
#2E43AA #AA572E #81AA2E
monochromatic
#141D4A #21307A #2E43AA #485ECD #7889DA

Accessibility & contrast

On white

8.40
#2E43AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2E43AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E43AA
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E43AA#FFFFFF#000000##FFFFFF
##2E43AA1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e43aa;
/* rgb */ color: rgb(46, 67, 170);
/* oklch */ color: oklch(43.3% 0.166 269.3);
Tailwind
colors: {
  custom: {
    50: '#7877c4',
    500: '#2e43aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e43aa;
$custom-light: #7877c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e43aa",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 170
  },
  "hsl": {
    "h": 229.839,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43256,
    "c": 0.1663,
    "h": 269.3
  },
  "luminance": 0.07497
}

Semantic roles & 50–950 ramp

primary
#2E43AA
secondary
#C3B571
accent
#C747E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2E43AA

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

Preview Lab → · Contrast checker → · Palette generator →

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