#2E3BB7#2E3BB7

#2E3BB7 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 43.0% C 0.193 H 270.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#2E3BB7
RGBrgb(46, 59, 183)
HSLhsl(234, 60%, 45%)
HSVhsv(234, 75%, 72%)
CMYKcmyk(74.9%, 67.8%, 0%, 28.2%)
CIE-LABlab(32.09, 38.09, -66.69)
CIE-LCHlch(32.09, 76.80, 299.73°)
OKLaboklab(43.01% 0.0026 -0.1929)
OKLCHoklch(43.01% 0.193 270.8)
XYZxyz(11.2350, 7.1265, 45.5740)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3BB7 #B7AA2E
analogous
#2E7FB7 #2E3BB7 #662EB7
triadic
#2E3BB7 #B72E3B #3BB72E
tetradic
#2E3BB7 #B72E7F #B7AA2E #2EB766
square
#2E3BB7 #B72E7F #B7AA2E #2EB766
split-complementary
#2E3BB7 #B7662E #7FB72E
monochromatic
#151B55 #222B86 #2E3BB7 #4F5CD3 #8089DF

Accessibility & contrast

On white

8.66
#2E3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2E3BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3BB7
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3BB7#FFFFFF#000000##FFFFFF
##2E3BB71.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0045B5
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e3bb7;
/* rgb */ color: rgb(46, 59, 183);
/* oklch */ color: oklch(43.0% 0.193 270.8);
Tailwind
colors: {
  custom: {
    50: '#7c71ce',
    500: '#2e3bb7',
    950: '#000000',
  },
}
SCSS
$custom: #2e3bb7;
$custom-light: #7c71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3bb7",
  "rgb": {
    "r": 46,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 234.307,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43007,
    "c": 0.19295,
    "h": 270.8
  },
  "luminance": 0.07128
}

Semantic roles & 50–950 ramp

primary
#2E3BB7
secondary
#C8C079
accent
#D445E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2E3BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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