#2E3EAC#2E3EAC

#2E3EAC is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.175 H 270.5°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#2E3EAC
RGBrgb(46, 62, 172)
HSLhsl(232, 58%, 43%)
HSVhsv(232, 73%, 67%)
CMYKcmyk(73.3%, 64%, 0%, 32.5%)
CIE-LABlab(31.82, 32.23, -60.60)
CIE-LCHlch(31.82, 68.63, 298.01°)
OKLaboklab(42.5% 0.0015 -0.1751)
OKLCHoklch(42.5% 0.175 270.5)
XYZxyz(10.2932, 7.0036, 39.8311)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3EAC #AC9C2E
analogous
#2E7DAC #2E3EAC #5D2EAC
triadic
#2E3EAC #AC2E3E #3EAC2E
tetradic
#2E3EAC #AC2E7D #AC9C2E #2EAC5D
square
#2E3EAC #AC2E7D #AC9C2E #2EAC5D
split-complementary
#2E3EAC #AC5D2E #7DAC2E
monochromatic
#141B4B #212D7C #2E3EAC #495ACE #7986DB

Accessibility & contrast

On white

8.75
#2E3EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2E3EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3EAC
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3EAC#FFFFFF#000000##FFFFFF
##2E3EAC1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0045AA
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e3eac;
/* rgb */ color: rgb(46, 62, 172);
/* oklch */ color: oklch(42.5% 0.175 270.5);
Tailwind
colors: {
  custom: {
    50: '#7973c6',
    500: '#2e3eac',
    950: '#000000',
  },
}
SCSS
$custom: #2e3eac;
$custom-light: #7973c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3eac",
  "rgb": {
    "r": 46,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 232.381,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.42499,
    "c": 0.17511,
    "h": 270.5
  },
  "luminance": 0.07005
}

Semantic roles & 50–950 ramp

primary
#2E3EAC
secondary
#C3B972
accent
#CD47E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2E3EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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