#2E43AF#2E43AF

#2E43AF is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.173 H 269.3°. Best body text is #FFFFFF at 8.27:1 contrast (WCAG AA passes).

Color values

HEX#2E43AF
RGBrgb(46, 67, 175)
HSLhsl(230, 58%, 43%)
HSVhsv(230, 74%, 69%)
CMYKcmyk(73.7%, 61.7%, 0%, 31.4%)
CIE-LABlab(33.33, 30.08, -59.92)
CIE-LCHlch(33.33, 67.04, 296.65°)
OKLaboklab(43.69% -0.002 -0.173)
OKLCHoklch(43.69% 0.173 269.3)
XYZxyz(10.8691, 7.6892, 41.4605)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E43AF #AF9A2E
analogous
#2E83AF #2E43AF #5A2EAF
triadic
#2E43AF #AF2E43 #43AF2E
tetradic
#2E43AF #AF2E83 #AF9A2E #2EAF5A
square
#2E43AF #AF2E83 #AF9A2E #2EAF5A
split-complementary
#2E43AF #AF5A2E #83AF2E
monochromatic
#151E4E #21307F #2E43AF #4B60D0 #7B8BDC

Accessibility & contrast

On white

8.27
#2E43AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2E43AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E43AF
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E43AF#FFFFFF#000000##FFFFFF
##2E43AF1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#0049AD
Tritanopia (blue-blind)
#005F72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e43af;
/* rgb */ color: rgb(46, 67, 175);
/* oklch */ color: oklch(43.7% 0.173 269.3);
Tailwind
colors: {
  custom: {
    50: '#7977c8',
    500: '#2e43af',
    950: '#000000',
  },
}
SCSS
$custom: #2e43af;
$custom-light: #7977c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e43af",
  "rgb": {
    "r": 46,
    "g": 67,
    "b": 175
  },
  "hsl": {
    "h": 230.233,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43694,
    "c": 0.17306,
    "h": 269.3
  },
  "luminance": 0.0769
}

Semantic roles & 50–950 ramp

primary
#2E43AF
secondary
#C5B874
accent
#C846E2
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2E43AF

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

Preview Lab → · Contrast checker → · Palette generator →

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