#2E3AB8#2E3AB8

#2E3AB8 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.195 H 270.9°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#2E3AB8
RGBrgb(46, 58, 184)
HSLhsl(235, 60%, 45%)
HSVhsv(235, 75%, 72%)
CMYKcmyk(75%, 68.5%, 0%, 27.8%)
CIE-LABlab(31.96, 39.06, -67.50)
CIE-LCHlch(31.96, 77.99, 300.06°)
OKLaboklab(42.94% 0.0031 -0.1953)
OKLCHoklch(42.94% 0.195 270.9)
XYZxyz(11.2886, 7.0664, 46.1071)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3AB8 #B8AC2E
analogous
#2E7FB8 #2E3AB8 #672EB8
triadic
#2E3AB8 #B82E3A #3AB82E
tetradic
#2E3AB8 #B82E7F #B8AC2E #2EB867
square
#2E3AB8 #B82E7F #B8AC2E #2EB867
split-complementary
#2E3AB8 #B8672E #7FB82E
monochromatic
#161B56 #222B87 #2E3AB8 #505BD3 #8189DF

Accessibility & contrast

On white

8.70
#2E3AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2E3AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3AB8
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3AB8#FFFFFF#000000##FFFFFF
##2E3AB81.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005C74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e3ab8;
/* rgb */ color: rgb(46, 58, 184);
/* oklch */ color: oklch(42.9% 0.195 270.9);
Tailwind
colors: {
  custom: {
    50: '#7c70ce',
    500: '#2e3ab8',
    950: '#000000',
  },
}
SCSS
$custom: #2e3ab8;
$custom-light: #7c70ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3ab8",
  "rgb": {
    "r": 46,
    "g": 58,
    "b": 184
  },
  "hsl": {
    "h": 234.783,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.42937,
    "c": 0.19533,
    "h": 270.9
  },
  "luminance": 0.07068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E3AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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