#2E3EB7#2E3EB7

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

Color values

HEX#2E3EB7
RGBrgb(46, 62, 183)
HSLhsl(233, 60%, 45%)
HSVhsv(233, 75%, 72%)
CMYKcmyk(74.9%, 66.1%, 0%, 28.2%)
CIE-LABlab(32.80, 36.20, -65.53)
CIE-LCHlch(32.80, 74.87, 298.92°)
OKLaboklab(43.52% 0.0009 -0.1895)
OKLCHoklch(43.52% 0.19 270.3)
XYZxyz(11.3937, 7.4438, 45.6269)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3EB7 #B7A72E
analogous
#2E82B7 #2E3EB7 #632EB7
triadic
#2E3EB7 #B72E3E #3EB72E
tetradic
#2E3EB7 #B72E82 #B7A72E #2EB763
square
#2E3EB7 #B72E82 #B7A72E #2EB763
split-complementary
#2E3EB7 #B7632E #82B72E
monochromatic
#151D55 #222D86 #2E3EB7 #4F5FD3 #808BDF

Accessibility & contrast

On white

8.44
#2E3EB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2E3EB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3EB7
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3EB7#FFFFFF#000000##FFFFFF
##2E3EB71.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BB
Deuteranopia (green-blind)
#0047B5
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e3eb7;
/* rgb */ color: rgb(46, 62, 183);
/* oklch */ color: oklch(43.5% 0.190 270.3);
Tailwind
colors: {
  custom: {
    50: '#7c73ce',
    500: '#2e3eb7',
    950: '#000000',
  },
}
SCSS
$custom: #2e3eb7;
$custom-light: #7c73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3eb7",
  "rgb": {
    "r": 46,
    "g": 62,
    "b": 183
  },
  "hsl": {
    "h": 232.993,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43519,
    "c": 0.18954,
    "h": 270.3
  },
  "luminance": 0.07445
}

Semantic roles & 50–950 ramp

primary
#2E3EB7
secondary
#C8BF79
accent
#D145E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2E3EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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