#2E3CAC#2E3CAC

#2E3CAC is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.1% C 0.177 H 270.9°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#2E3CAC
RGBrgb(46, 60, 172)
HSLhsl(233, 58%, 43%)
HSVhsv(233, 73%, 67%)
CMYKcmyk(73.3%, 65.1%, 0%, 32.5%)
CIE-LABlab(31.32, 33.52, -61.40)
CIE-LCHlch(31.32, 69.95, 298.63°)
OKLaboklab(42.14% 0.0029 -0.1775)
OKLCHoklch(42.14% 0.177 270.9)
XYZxyz(10.1864, 6.7901, 39.7955)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3CAC #AC9E2E
analogous
#2E7BAC #2E3CAC #5F2EAC
triadic
#2E3CAC #AC2E3C #3CAC2E
tetradic
#2E3CAC #AC2E7B #AC9E2E #2EAC5F
square
#2E3CAC #AC2E7B #AC9E2E #2EAC5F
split-complementary
#2E3CAC #AC5F2E #7BAC2E
monochromatic
#141A4B #212B7C #2E3CAC #4958CE #7984DB

Accessibility & contrast

On white

8.91
#2E3CAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2E3CAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3CAC
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3CAC#FFFFFF#000000##FFFFFF
##2E3CAC1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B0
Deuteranopia (green-blind)
#0044AA
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2e3cac;
/* rgb */ color: rgb(46, 60, 172);
/* oklch */ color: oklch(42.1% 0.177 270.9);
Tailwind
colors: {
  custom: {
    50: '#7972c6',
    500: '#2e3cac',
    950: '#000000',
  },
}
SCSS
$custom: #2e3cac;
$custom-light: #7972c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3cac",
  "rgb": {
    "r": 46,
    "g": 60,
    "b": 172
  },
  "hsl": {
    "h": 233.333,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42138,
    "c": 0.17749,
    "h": 270.9
  },
  "luminance": 0.06791
}

Semantic roles & 50–950 ramp

primary
#2E3CAC
secondary
#C3BA72
accent
#D047E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2E3CAC

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

Preview Lab → · Contrast checker → · Palette generator →

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