#2E3CA1#2E3CA1

#2E3CA1 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.1% C 0.163 H 271.2°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#2E3CA1
RGBrgb(46, 60, 161)
HSLhsl(233, 56%, 41%)
HSVhsv(233, 71%, 63%)
CMYKcmyk(71.4%, 62.7%, 0%, 36.9%)
CIE-LABlab(30.36, 29.51, -56.36)
CIE-LCHlch(30.36, 63.62, 297.64°)
OKLaboklab(41.14% 0.0034 -0.1627)
OKLCHoklch(41.14% 0.163 271.2)
XYZxyz(9.1734, 6.3849, 34.4603)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3CA1 #A1932E
analogous
#2E75A1 #2E3CA1 #5A2EA1
triadic
#2E3CA1 #A12E3C #3CA12E
tetradic
#2E3CA1 #A12E75 #A1932E #2EA15A
square
#2E3CA1 #A12E75 #A1932E #2EA15A
split-complementary
#2E3CA1 #A15A2E #75A12E
monochromatic
#131942 #202A71 #2E3CA1 #4353C9 #737FD7

Accessibility & contrast

On white

9.22
#2E3CA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2E3CA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3CA1
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3CA1#FFFFFF#000000##FFFFFF
##2E3CA11.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA4
Deuteranopia (green-blind)
#00429F
Tritanopia (blue-blind)
#005668
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2e3ca1;
/* rgb */ color: rgb(46, 60, 161);
/* oklch */ color: oklch(41.1% 0.163 271.2);
Tailwind
colors: {
  custom: {
    50: '#7771be',
    500: '#2e3ca1',
    950: '#000000',
  },
}
SCSS
$custom: #2e3ca1;
$custom-light: #7771be;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3ca1",
  "rgb": {
    "r": 46,
    "g": 60,
    "b": 161
  },
  "hsl": {
    "h": 232.696,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41135,
    "c": 0.16273,
    "h": 271.2
  },
  "luminance": 0.06386
}

Semantic roles & 50–950 ramp

primary
#2E3CA1
secondary
#BEB46C
accent
#CD49DF
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E3CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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