#2E43A6#2E43A6

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

Color values

HEX#2E43A6
RGBrgb(46, 67, 166)
HSLhsl(230, 57%, 42%)
HSVhsv(230, 72%, 65%)
CMYKcmyk(72.3%, 59.6%, 0%, 34.9%)
CIE-LABlab(32.58, 26.74, -55.75)
CIE-LCHlch(32.58, 61.83, 295.62°)
OKLaboklab(42.91% -0.002 -0.1608)
OKLCHoklch(42.91% 0.161 269.3)
XYZxyz(10.0144, 7.3473, 36.9594)
Luminance0.0735 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E43A6 #A6912E
analogous
#2E7FA6 #2E43A6 #552EA6
triadic
#2E43A6 #A62E43 #43A62E
tetradic
#2E43A6 #A62E7F #A6912E #2EA655
square
#2E43A6 #A62E7F #A6912E #2EA655
split-complementary
#2E43A6 #A6552E #7FA62E
monochromatic
#131C46 #213076 #2E43A6 #465DCC #7687D9

Accessibility & contrast

On white

8.50
#2E43A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2E43A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E43A6
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E43A6#FFFFFF#000000##FFFFFF
##2E43A61.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A9
Deuteranopia (green-blind)
#0047A4
Tritanopia (blue-blind)
#005C6E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e43a6;
/* rgb */ color: rgb(46, 67, 166);
/* oklch */ color: oklch(42.9% 0.161 269.3);
Tailwind
colors: {
  custom: {
    50: '#7776c1',
    500: '#2e43a6',
    950: '#000000',
  },
}
SCSS
$custom: #2e43a6;
$custom-light: #7776c1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e43a6",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 166
  },
  "hsl": {
    "h": 229.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.42911,
    "c": 0.16082,
    "h": 269.3
  },
  "luminance": 0.07348
}

Semantic roles & 50–950 ramp

primary
#2E43A6
secondary
#C1B26F
accent
#C548E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2E43A6

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

Preview Lab → · Contrast checker → · Palette generator →

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