#2E3FB7#2E3FB7

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

Color values

HEX#2E3FB7
RGBrgb(46, 63, 183)
HSLhsl(233, 60%, 45%)
HSVhsv(233, 75%, 72%)
CMYKcmyk(74.9%, 65.6%, 0%, 28.2%)
CIE-LABlab(33.04, 35.57, -65.14)
CIE-LCHlch(33.04, 74.22, 298.64°)
OKLaboklab(43.69% 0.0003 -0.1884)
OKLCHoklch(43.69% 0.188 270.1)
XYZxyz(11.4485, 7.5535, 45.6452)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3FB7 #B7A62E
analogous
#2E83B7 #2E3FB7 #622EB7
triadic
#2E3FB7 #B72E3F #3FB72E
tetradic
#2E3FB7 #B72E83 #B7A62E #2EB762
square
#2E3FB7 #B72E83 #B7A62E #2EB762
split-complementary
#2E3FB7 #B7622E #83B72E
monochromatic
#151D55 #222E86 #2E3FB7 #4F60D3 #808CDF

Accessibility & contrast

On white

8.36
#2E3FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2E3FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3FB7
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3FB7#FFFFFF#000000##FFFFFF
##2E3FB71.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3fb7;
/* rgb */ color: rgb(46, 63, 183);
/* oklch */ color: oklch(43.7% 0.188 270.1);
Tailwind
colors: {
  custom: {
    50: '#7c74ce',
    500: '#2e3fb7',
    950: '#000000',
  },
}
SCSS
$custom: #2e3fb7;
$custom-light: #7c74ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3fb7",
  "rgb": {
    "r": 46,
    "g": 63,
    "b": 183
  },
  "hsl": {
    "h": 232.555,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.43694,
    "c": 0.18839,
    "h": 270.1
  },
  "luminance": 0.07555
}

Semantic roles & 50–950 ramp

primary
#2E3FB7
secondary
#C8BE79
accent
#CF45E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2E3FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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