#2E3CA3#2E3CA3

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

Color values

HEX#2E3CA3
RGBrgb(46, 60, 163)
HSLhsl(233, 56%, 41%)
HSVhsv(233, 72%, 64%)
CMYKcmyk(71.8%, 63.2%, 0%, 36.1%)
CIE-LABlab(30.53, 30.24, -57.29)
CIE-LCHlch(30.53, 64.78, 297.83°)
OKLaboklab(41.32% 0.0033 -0.1654)
OKLCHoklch(41.32% 0.165 271.1)
XYZxyz(9.3512, 6.4560, 35.3965)
Luminance0.0646 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3CA3 #A3952E
analogous
#2E76A3 #2E3CA3 #5B2EA3
triadic
#2E3CA3 #A32E3C #3CA32E
tetradic
#2E3CA3 #A32E76 #A3952E #2EA35B
square
#2E3CA3 #A32E76 #A3952E #2EA35B
split-complementary
#2E3CA3 #A35B2E #76A32E
monochromatic
#131944 #212A73 #2E3CA3 #4454CA #7480D8

Accessibility & contrast

On white

9.16
#2E3CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2E3CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3CA3
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3CA3#FFFFFF#000000##FFFFFF
##2E3CA31.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0043A1
Tritanopia (blue-blind)
#005669
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e3ca3;
/* rgb */ color: rgb(46, 60, 163);
/* oklch */ color: oklch(41.3% 0.165 271.1);
Tailwind
colors: {
  custom: {
    50: '#7771bf',
    500: '#2e3ca3',
    950: '#000000',
  },
}
SCSS
$custom: #2e3ca3;
$custom-light: #7771bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3ca3",
  "rgb": {
    "r": 46,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 232.821,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41315,
    "c": 0.16544,
    "h": 271.1
  },
  "luminance": 0.06457
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E3CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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