#2E3FB4#2E3FB4

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

Color values

HEX#2E3FB4
RGBrgb(46, 63, 180)
HSLhsl(232, 59%, 44%)
HSVhsv(232, 74%, 71%)
CMYKcmyk(74.4%, 65%, 0%, 29.4%)
CIE-LABlab(32.77, 34.49, -63.80)
CIE-LCHlch(32.77, 72.53, 298.39°)
OKLaboklab(43.41% 0.0005 -0.1845)
OKLCHoklch(43.41% 0.184 270.1)
XYZxyz(11.1396, 7.4300, 44.0182)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3FB4 #B4A32E
analogous
#2E82B4 #2E3FB4 #602EB4
triadic
#2E3FB4 #B42E3F #3FB42E
tetradic
#2E3FB4 #B42E82 #B4A32E #2EB460
square
#2E3FB4 #B42E82 #B4A32E #2EB460
split-complementary
#2E3FB4 #B4602E #82B42E
monochromatic
#151D53 #222E83 #2E3FB4 #4E5ED2 #7E8ADE

Accessibility & contrast

On white

8.45
#2E3FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3FB4
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3FB4#FFFFFF#000000##FFFFFF
##2E3FB41.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3fb4;
/* rgb */ color: rgb(46, 63, 180);
/* oklch */ color: oklch(43.4% 0.184 270.1);
Tailwind
colors: {
  custom: {
    50: '#7b74cb',
    500: '#2e3fb4',
    950: '#000000',
  },
}
SCSS
$custom: #2e3fb4;
$custom-light: #7b74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3fb4",
  "rgb": {
    "r": 46,
    "g": 63,
    "b": 180
  },
  "hsl": {
    "h": 232.388,
    "s": 59.292,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43414,
    "c": 0.18448,
    "h": 270.1
  },
  "luminance": 0.07431
}

Semantic roles & 50–950 ramp

primary
#2E3FB4
secondary
#C7BD77
accent
#CF45E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2E3FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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