#2E3CA4#2E3CA4

#2E3CA4 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.167 H 271.1°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#2E3CA4
RGBrgb(46, 60, 164)
HSLhsl(233, 56%, 41%)
HSVhsv(233, 72%, 64%)
CMYKcmyk(72%, 63.4%, 0%, 35.7%)
CIE-LABlab(30.62, 30.61, -57.75)
CIE-LCHlch(30.62, 65.36, 297.92°)
OKLaboklab(41.4% 0.0033 -0.1668)
OKLCHoklch(41.4% 0.167 271.1)
XYZxyz(9.4411, 6.4920, 35.8703)
Luminance0.0649 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3CA4 #A4962E
analogous
#2E77A4 #2E3CA4 #5B2EA4
triadic
#2E3CA4 #A42E3C #3CA42E
tetradic
#2E3CA4 #A42E77 #A4962E #2EA45B
square
#2E3CA4 #A42E77 #A4962E #2EA45B
split-complementary
#2E3CA4 #A45B2E #77A42E
monochromatic
#131944 #212B74 #2E3CA4 #4554CB #7480D8

Accessibility & contrast

On white

9.14
#2E3CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2E3CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3CA4
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3CA4#FFFFFF#000000##FFFFFF
##2E3CA41.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0043A2
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e3ca4;
/* rgb */ color: rgb(46, 60, 164);
/* oklch */ color: oklch(41.4% 0.167 271.1);
Tailwind
colors: {
  custom: {
    50: '#7771c0',
    500: '#2e3ca4',
    950: '#000000',
  },
}
SCSS
$custom: #2e3ca4;
$custom-light: #7771c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3ca4",
  "rgb": {
    "r": 46,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 232.881,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41405,
    "c": 0.16679,
    "h": 271.1
  },
  "luminance": 0.06493
}

Semantic roles & 50–950 ramp

primary
#2E3CA4
secondary
#C0B66E
accent
#CE48DF
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E3CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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