#2E3CAB#2E3CAB

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

Color values

HEX#2E3CAB
RGBrgb(46, 60, 171)
HSLhsl(233, 58%, 43%)
HSVhsv(233, 73%, 67%)
CMYKcmyk(73.1%, 64.9%, 0%, 32.9%)
CIE-LABlab(31.24, 33.16, -60.95)
CIE-LCHlch(31.24, 69.38, 298.55°)
OKLaboklab(42.05% 0.0029 -0.1761)
OKLCHoklch(42.05% 0.176 270.9)
XYZxyz(10.0908, 6.7518, 39.2916)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3CAB #AB9D2E
analogous
#2E7BAB #2E3CAB #5E2EAB
triadic
#2E3CAB #AB2E3C #3CAB2E
tetradic
#2E3CAB #AB2E7B #AB9D2E #2EAB5E
square
#2E3CAB #AB2E7B #AB9D2E #2EAB5E
split-complementary
#2E3CAB #AB5E2E #7BAB2E
monochromatic
#141A4B #212B7B #2E3CAB #4857CE #7984DB

Accessibility & contrast

On white

8.93
#2E3CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2E3CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3CAB
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3CAB#FFFFFF#000000##FFFFFF
##2E3CAB1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0044A9
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e3cab;
/* rgb */ color: rgb(46, 60, 171);
/* oklch */ color: oklch(42.0% 0.176 270.9);
Tailwind
colors: {
  custom: {
    50: '#7972c5',
    500: '#2e3cab',
    950: '#000000',
  },
}
SCSS
$custom: #2e3cab;
$custom-light: #7972c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3cab",
  "rgb": {
    "r": 46,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 233.28,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42046,
    "c": 0.17616,
    "h": 270.9
  },
  "luminance": 0.06753
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E3CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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