#2E3DA4#2E3DA4

#2E3DA4 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.6% C 0.166 H 270.9°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#2E3DA4
RGBrgb(46, 61, 164)
HSLhsl(232, 56%, 41%)
HSVhsv(232, 72%, 64%)
CMYKcmyk(72%, 62.8%, 0%, 35.7%)
CIE-LABlab(30.87, 29.95, -57.34)
CIE-LCHlch(30.87, 64.69, 297.58°)
OKLaboklab(41.59% 0.0025 -0.1655)
OKLCHoklch(41.59% 0.166 270.9)
XYZxyz(9.4940, 6.5977, 35.8879)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3DA4 #A4952E
analogous
#2E78A4 #2E3DA4 #5A2EA4
triadic
#2E3DA4 #A42E3D #3DA42E
tetradic
#2E3DA4 #A42E78 #A4952E #2EA45A
square
#2E3DA4 #A42E78 #A4952E #2EA45A
split-complementary
#2E3DA4 #A45A2E #78A42E
monochromatic
#131944 #212B74 #2E3DA4 #4556CB #7481D8

Accessibility & contrast

On white

9.05
#2E3DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2E3DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3DA4
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3DA4#FFFFFF#000000##FFFFFF
##2E3DA41.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3da4;
/* rgb */ color: rgb(46, 61, 164);
/* oklch */ color: oklch(41.6% 0.166 270.9);
Tailwind
colors: {
  custom: {
    50: '#7772c0',
    500: '#2e3da4',
    950: '#000000',
  },
}
SCSS
$custom: #2e3da4;
$custom-light: #7772c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3da4",
  "rgb": {
    "r": 46,
    "g": 61,
    "b": 164
  },
  "hsl": {
    "h": 232.373,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41591,
    "c": 0.16557,
    "h": 270.9
  },
  "luminance": 0.06599
}

Semantic roles & 50–950 ramp

primary
#2E3DA4
secondary
#C0B56E
accent
#CC48DF
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2E3DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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