#2E3CA9#2E3CA9

#2E3CA9 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.174 H 271.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#2E3CA9
RGBrgb(46, 60, 169)
HSLhsl(233, 57%, 42%)
HSVhsv(233, 73%, 66%)
CMYKcmyk(72.8%, 64.5%, 0%, 33.7%)
CIE-LABlab(31.06, 32.43, -60.04)
CIE-LCHlch(31.06, 68.24, 298.38°)
OKLaboklab(41.86% 0.003 -0.1735)
OKLCHoklch(41.86% 0.174 271)
XYZxyz(9.9016, 6.6761, 38.2952)
Luminance0.0668 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3CA9 #A99B2E
analogous
#2E79A9 #2E3CA9 #5E2EA9
triadic
#2E3CA9 #A92E3C #3CA92E
tetradic
#2E3CA9 #A92E79 #A99B2E #2EA95E
square
#2E3CA9 #A92E79 #A99B2E #2EA95E
split-complementary
#2E3CA9 #A95E2E #79A92E
monochromatic
#141A49 #212B79 #2E3CA9 #4756CD #7783DA

Accessibility & contrast

On white

8.99
#2E3CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2E3CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3CA9
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3CA9#FFFFFF#000000##FFFFFF
##2E3CA91.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0043A7
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e3ca9;
/* rgb */ color: rgb(46, 60, 169);
/* oklch */ color: oklch(41.9% 0.174 271.0);
Tailwind
colors: {
  custom: {
    50: '#7971c4',
    500: '#2e3ca9',
    950: '#000000',
  },
}
SCSS
$custom: #2e3ca9;
$custom-light: #7971c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3ca9",
  "rgb": {
    "r": 46,
    "g": 60,
    "b": 169
  },
  "hsl": {
    "h": 233.171,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.41861,
    "c": 0.17351,
    "h": 271
  },
  "luminance": 0.06677
}

Semantic roles & 50–950 ramp

primary
#2E3CA9
secondary
#C2B971
accent
#CF47E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2E3CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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