#2E3FB8#2E3FB8

#2E3FB8 is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.8% C 0.190 H 270.1°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#2E3FB8
RGBrgb(46, 63, 184)
HSLhsl(233, 60%, 45%)
HSVhsv(233, 75%, 72%)
CMYKcmyk(75%, 65.8%, 0%, 27.8%)
CIE-LABlab(33.13, 35.93, -65.58)
CIE-LCHlch(33.13, 74.78, 298.72°)
OKLaboklab(43.79% 0.0002 -0.1897)
OKLCHoklch(43.79% 0.19 270.1)
XYZxyz(11.5530, 7.5953, 46.1953)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3FB8 #B8A72E
analogous
#2E84B8 #2E3FB8 #622EB8
triadic
#2E3FB8 #B82E3F #3FB82E
tetradic
#2E3FB8 #B82E84 #B8A72E #2EB862
square
#2E3FB8 #B82E84 #B8A72E #2EB862
split-complementary
#2E3FB8 #B8622E #84B82E
monochromatic
#161D56 #222E87 #2E3FB8 #5060D3 #818DDF

Accessibility & contrast

On white

8.34
#2E3FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2E3FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3FB8
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3FB8#FFFFFF#000000##FFFFFF
##2E3FB81.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e3fb8;
/* rgb */ color: rgb(46, 63, 184);
/* oklch */ color: oklch(43.8% 0.190 270.1);
Tailwind
colors: {
  custom: {
    50: '#7c74ce',
    500: '#2e3fb8',
    950: '#000000',
  },
}
SCSS
$custom: #2e3fb8;
$custom-light: #7c74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3fb8",
  "rgb": {
    "r": 46,
    "g": 63,
    "b": 184
  },
  "hsl": {
    "h": 232.609,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43787,
    "c": 0.18969,
    "h": 270.1
  },
  "luminance": 0.07597
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E3FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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