#2E3BB6#2E3BB6

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

Color values

HEX#2E3BB6
RGBrgb(46, 59, 182)
HSLhsl(234, 60%, 45%)
HSVhsv(234, 75%, 71%)
CMYKcmyk(74.7%, 67.6%, 0%, 28.6%)
CIE-LABlab(32.00, 37.73, -66.25)
CIE-LCHlch(32.00, 76.24, 299.66°)
OKLaboklab(42.91% 0.0027 -0.1916)
OKLCHoklch(42.91% 0.192 270.8)
XYZxyz(11.1313, 7.0850, 45.0278)
Luminance0.0709 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3BB6 #B6A92E
analogous
#2E7FB6 #2E3BB6 #652EB6
triadic
#2E3BB6 #B62E3B #3BB62E
tetradic
#2E3BB6 #B62E7F #B6A92E #2EB665
square
#2E3BB6 #B62E7F #B6A92E #2EB665
split-complementary
#2E3BB6 #B6652E #7FB62E
monochromatic
#151B54 #222B85 #2E3BB6 #4F5BD2 #8089DF

Accessibility & contrast

On white

8.69
#2E3BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2E3BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3BB6
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3BB6#FFFFFF#000000##FFFFFF
##2E3BB61.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0045B4
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e3bb6;
/* rgb */ color: rgb(46, 59, 182);
/* oklch */ color: oklch(42.9% 0.192 270.8);
Tailwind
colors: {
  custom: {
    50: '#7c71cd',
    500: '#2e3bb6',
    950: '#000000',
  },
}
SCSS
$custom: #2e3bb6;
$custom-light: #7c71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3bb6",
  "rgb": {
    "r": 46,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 234.265,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.4291,
    "c": 0.19167,
    "h": 270.8
  },
  "luminance": 0.07086
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E3BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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