#2E3FAA#2E3FAA

#2E3FAA is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.5% C 0.171 H 270.3°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#2E3FAA
RGBrgb(46, 63, 170)
HSLhsl(232, 57%, 42%)
HSVhsv(232, 73%, 67%)
CMYKcmyk(72.9%, 62.9%, 0%, 33.3%)
CIE-LABlab(31.89, 30.85, -59.28)
CIE-LCHlch(31.89, 66.82, 297.49°)
OKLaboklab(42.5% 0.0009 -0.1712)
OKLCHoklch(42.5% 0.171 270.3)
XYZxyz(10.1574, 7.0371, 38.8454)
Luminance0.0704 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3FAA #AA992E
analogous
#2E7DAA #2E3FAA #5B2EAA
triadic
#2E3FAA #AA2E3F #3FAA2E
tetradic
#2E3FAA #AA2E7D #AA992E #2EAA5B
square
#2E3FAA #AA2E7D #AA992E #2EAA5B
split-complementary
#2E3FAA #AA5B2E #7DAA2E
monochromatic
#141B4A #212D7A #2E3FAA #485ACD #7885DA

Accessibility & contrast

On white

8.72
#2E3FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2E3FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3FAA
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3FAA#FFFFFF#000000##FFFFFF
##2E3FAA1.008.722.418.72
#FFFFFF8.721.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AD
Deuteranopia (green-blind)
#0045A8
Tritanopia (blue-blind)
#005B6E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e3faa;
/* rgb */ color: rgb(46, 63, 170);
/* oklch */ color: oklch(42.5% 0.171 270.3);
Tailwind
colors: {
  custom: {
    50: '#7974c4',
    500: '#2e3faa',
    950: '#000000',
  },
}
SCSS
$custom: #2e3faa;
$custom-light: #7974c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3faa",
  "rgb": {
    "r": 46,
    "g": 63,
    "b": 170
  },
  "hsl": {
    "h": 231.774,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42501,
    "c": 0.17122,
    "h": 270.3
  },
  "luminance": 0.07038
}

Semantic roles & 50–950 ramp

primary
#2E3FAA
secondary
#C3B771
accent
#CC47E1
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2E3FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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