#2E43B7#2E43B7

#2E43B7 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.4% C 0.184 H 269.3°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#2E43B7
RGBrgb(46, 67, 183)
HSLhsl(231, 60%, 45%)
HSVhsv(231, 75%, 72%)
CMYKcmyk(74.9%, 63.4%, 0%, 28.2%)
CIE-LABlab(34.01, 33.01, -63.54)
CIE-LCHlch(34.01, 71.61, 297.45°)
OKLaboklab(44.41% -0.0022 -0.1837)
OKLCHoklch(44.41% 0.184 269.3)
XYZxyz(11.6782, 8.0128, 45.7217)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E43B7 #B7A22E
analogous
#2E87B7 #2E43B7 #5E2EB7
triadic
#2E43B7 #B72E43 #43B72E
tetradic
#2E43B7 #B72E87 #B7A22E #2EB75E
square
#2E43B7 #B72E87 #B7A22E #2EB75E
split-complementary
#2E43B7 #B75E2E #87B72E
monochromatic
#151F55 #223186 #2E43B7 #4F64D3 #808FDF

Accessibility & contrast

On white

8.07
#2E43B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2E43B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E43B7
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E43B7#FFFFFF#000000##FFFFFF
##2E43B71.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BB
Deuteranopia (green-blind)
#004AB5
Tritanopia (blue-blind)
#006177
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e43b7;
/* rgb */ color: rgb(46, 67, 183);
/* oklch */ color: oklch(44.4% 0.184 269.3);
Tailwind
colors: {
  custom: {
    50: '#7b77ce',
    500: '#2e43b7',
    950: '#000000',
  },
}
SCSS
$custom: #2e43b7;
$custom-light: #7b77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e43b7",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 183
  },
  "hsl": {
    "h": 230.803,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.44409,
    "c": 0.1837,
    "h": 269.3
  },
  "luminance": 0.08014
}

Semantic roles & 50–950 ramp

primary
#2E43B7
secondary
#C8BC79
accent
#CB45E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2E43B7

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

Preview Lab → · Contrast checker → · Palette generator →

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