#2E3FAB#2E3FAB

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

Color values

HEX#2E3FAB
RGBrgb(46, 63, 171)
HSLhsl(232, 58%, 43%)
HSVhsv(232, 73%, 67%)
CMYKcmyk(73.1%, 63.2%, 0%, 32.9%)
CIE-LABlab(31.98, 31.21, -59.73)
CIE-LCHlch(31.98, 67.40, 297.59°)
OKLaboklab(42.59% 0.0009 -0.1726)
OKLCHoklch(42.59% 0.173 270.3)
XYZxyz(10.2524, 7.0751, 39.3455)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3FAB #AB9A2E
analogous
#2E7EAB #2E3FAB #5B2EAB
triadic
#2E3FAB #AB2E3F #3FAB2E
tetradic
#2E3FAB #AB2E7E #AB9A2E #2EAB5B
square
#2E3FAB #AB2E7E #AB9A2E #2EAB5B
split-complementary
#2E3FAB #AB5B2E #7EAB2E
monochromatic
#141B4B #212D7B #2E3FAB #485ACE #7986DB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E3FAB#FFFFFF#000000##FFFFFF
##2E3FAB1.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)
#0051AE
Deuteranopia (green-blind)
#0046A9
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e3fab;
/* rgb */ color: rgb(46, 63, 171);
/* oklch */ color: oklch(42.6% 0.173 270.3);
Tailwind
colors: {
  custom: {
    50: '#7974c5',
    500: '#2e3fab',
    950: '#000000',
  },
}
SCSS
$custom: #2e3fab;
$custom-light: #7974c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3fab",
  "rgb": {
    "r": 46,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 231.84,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42591,
    "c": 0.17256,
    "h": 270.3
  },
  "luminance": 0.07076
}

Semantic roles & 50–950 ramp

primary
#2E3FAB
secondary
#C3B872
accent
#CC47E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2E3FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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