#2E3EB6#2E3EB6

#2E3EB6 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.4% C 0.188 H 270.3°. Best body text is #FFFFFF at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#2E3EB6
RGBrgb(46, 62, 182)
HSLhsl(233, 60%, 45%)
HSVhsv(233, 75%, 71%)
CMYKcmyk(74.7%, 65.9%, 0%, 28.6%)
CIE-LABlab(32.71, 35.85, -65.09)
CIE-LCHlch(32.71, 74.31, 298.84°)
OKLaboklab(43.43% 0.001 -0.1882)
OKLCHoklch(43.43% 0.188 270.3)
XYZxyz(11.2900, 7.4023, 45.0807)
Luminance0.0740 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3EB6 #B6A62E
analogous
#2E82B6 #2E3EB6 #622EB6
triadic
#2E3EB6 #B62E3E #3EB62E
tetradic
#2E3EB6 #B62E82 #B6A62E #2EB662
square
#2E3EB6 #B62E82 #B6A62E #2EB662
split-complementary
#2E3EB6 #B6622E #82B62E
monochromatic
#151D54 #222D85 #2E3EB6 #4F5ED2 #808BDF

Accessibility & contrast

On white

8.47
#2E3EB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2E3EB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3EB6
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3EB6#FFFFFF#000000##FFFFFF
##2E3EB61.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0047B4
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e3eb6;
/* rgb */ color: rgb(46, 62, 182);
/* oklch */ color: oklch(43.4% 0.188 270.3);
Tailwind
colors: {
  custom: {
    50: '#7b73cd',
    500: '#2e3eb6',
    950: '#000000',
  },
}
SCSS
$custom: #2e3eb6;
$custom-light: #7b73cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3eb6",
  "rgb": {
    "r": 46,
    "g": 62,
    "b": 182
  },
  "hsl": {
    "h": 232.941,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43425,
    "c": 0.18825,
    "h": 270.3
  },
  "luminance": 0.07403
}

Semantic roles & 50–950 ramp

primary
#2E3EB6
secondary
#C8BE78
accent
#D045E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2E3EB6

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

Preview Lab → · Contrast checker → · Palette generator →

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