#2E43B1#2E43B1

#2E43B1 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.9% C 0.176 H 269.3°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2E43B1
RGBrgb(46, 67, 177)
HSLhsl(230, 59%, 44%)
HSVhsv(230, 74%, 69%)
CMYKcmyk(74%, 62.1%, 0%, 30.6%)
CIE-LABlab(33.50, 30.81, -60.83)
CIE-LCHlch(33.50, 68.19, 296.86°)
OKLaboklab(43.87% -0.0021 -0.1757)
OKLCHoklch(43.87% 0.176 269.3)
XYZxyz(11.0670, 7.7683, 42.5026)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E43B1 #B19C2E
analogous
#2E84B1 #2E43B1 #5A2EB1
triadic
#2E43B1 #B12E43 #43B12E
tetradic
#2E43B1 #B12E84 #B19C2E #2EB15A
square
#2E43B1 #B12E84 #B19C2E #2EB15A
split-complementary
#2E43B1 #B15A2E #84B12E
monochromatic
#151E50 #213180 #2E43B1 #4C61D0 #7C8CDD

Accessibility & contrast

On white

8.22
#2E43B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2E43B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E43B1
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E43B1#FFFFFF#000000##FFFFFF
##2E43B11.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B5
Deuteranopia (green-blind)
#0049AF
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2e43b1;
/* rgb */ color: rgb(46, 67, 177);
/* oklch */ color: oklch(43.9% 0.176 269.3);
Tailwind
colors: {
  custom: {
    50: '#7a77c9',
    500: '#2e43b1',
    950: '#000000',
  },
}
SCSS
$custom: #2e43b1;
$custom-light: #7a77c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e43b1",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 177
  },
  "hsl": {
    "h": 230.382,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43871,
    "c": 0.17574,
    "h": 269.3
  },
  "luminance": 0.07769
}

Semantic roles & 50–950 ramp

primary
#2E43B1
secondary
#C6B975
accent
#C946E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2E43B1

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

Preview Lab → · Contrast checker → · Palette generator →

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