#2E3AB6#2E3AB6

#2E3AB6 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.193 H 271.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#2E3AB6
RGBrgb(46, 58, 182)
HSLhsl(235, 60%, 45%)
HSVhsv(235, 75%, 71%)
CMYKcmyk(74.7%, 68.1%, 0%, 28.6%)
CIE-LABlab(31.77, 38.36, -66.63)
CIE-LCHlch(31.77, 76.88, 299.93°)
OKLaboklab(42.74% 0.0033 -0.1928)
OKLCHoklch(42.74% 0.193 271)
XYZxyz(11.0804, 6.9832, 45.0108)
Luminance0.0698 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3AB6 #B6AA2E
analogous
#2E7EB6 #2E3AB6 #662EB6
triadic
#2E3AB6 #B62E3A #3AB62E
tetradic
#2E3AB6 #B62E7E #B6AA2E #2EB666
square
#2E3AB6 #B62E7E #B6AA2E #2EB666
split-complementary
#2E3AB6 #B6662E #7EB62E
monochromatic
#151B54 #222A85 #2E3AB6 #4F5AD2 #8088DF

Accessibility & contrast

On white

8.76
#2E3AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2E3AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3AB6
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3AB6#FFFFFF#000000##FFFFFF
##2E3AB61.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BA
Deuteranopia (green-blind)
#0044B4
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e3ab6;
/* rgb */ color: rgb(46, 58, 182);
/* oklch */ color: oklch(42.7% 0.193 271.0);
Tailwind
colors: {
  custom: {
    50: '#7c70cd',
    500: '#2e3ab6',
    950: '#000000',
  },
}
SCSS
$custom: #2e3ab6;
$custom-light: #7c70cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3ab6",
  "rgb": {
    "r": 46,
    "g": 58,
    "b": 182
  },
  "hsl": {
    "h": 234.706,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42743,
    "c": 0.19279,
    "h": 271
  },
  "luminance": 0.06984
}

Semantic roles & 50–950 ramp

primary
#2E3AB6
secondary
#C8C178
accent
#D545E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2E3AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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