#2E3BB8#2E3BB8

#2E3BB8 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.1% C 0.194 H 270.7°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#2E3BB8
RGBrgb(46, 59, 184)
HSLhsl(234, 60%, 45%)
HSVhsv(234, 75%, 72%)
CMYKcmyk(75%, 67.9%, 0%, 27.8%)
CIE-LABlab(32.19, 38.44, -67.12)
CIE-LCHlch(32.19, 77.35, 299.80°)
OKLaboklab(43.1% 0.0025 -0.1942)
OKLCHoklch(43.1% 0.194 270.7)
XYZxyz(11.3395, 7.1683, 46.1241)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3BB8 #B8AB2E
analogous
#2E80B8 #2E3BB8 #662EB8
triadic
#2E3BB8 #B82E3B #3BB82E
tetradic
#2E3BB8 #B82E80 #B8AB2E #2EB866
square
#2E3BB8 #B82E80 #B8AB2E #2EB866
split-complementary
#2E3BB8 #B8662E #80B82E
monochromatic
#161C56 #222B87 #2E3BB8 #505CD3 #818ADF

Accessibility & contrast

On white

8.63
#2E3BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3BB8
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3BB8#FFFFFF#000000##FFFFFF
##2E3BB81.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0045B6
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e3bb8;
/* rgb */ color: rgb(46, 59, 184);
/* oklch */ color: oklch(43.1% 0.194 270.7);
Tailwind
colors: {
  custom: {
    50: '#7c71ce',
    500: '#2e3bb8',
    950: '#000000',
  },
}
SCSS
$custom: #2e3bb8;
$custom-light: #7c71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3bb8",
  "rgb": {
    "r": 46,
    "g": 59,
    "b": 184
  },
  "hsl": {
    "h": 234.348,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43103,
    "c": 0.19423,
    "h": 270.7
  },
  "luminance": 0.07169
}

Semantic roles & 50–950 ramp

primary
#2E3BB8
secondary
#C8C179
accent
#D445E3
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2E3BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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