#2E3EAB#2E3EAB

#2E3EAB is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.4% C 0.174 H 270.5°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#2E3EAB
RGBrgb(46, 62, 171)
HSLhsl(232, 58%, 43%)
HSVhsv(232, 73%, 67%)
CMYKcmyk(73.1%, 63.7%, 0%, 32.9%)
CIE-LABlab(31.73, 31.86, -60.14)
CIE-LCHlch(31.73, 68.06, 297.91°)
OKLaboklab(42.41% 0.0016 -0.1738)
OKLCHoklch(42.41% 0.174 270.5)
XYZxyz(10.1975, 6.9653, 39.3272)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3EAB #AB9B2E
analogous
#2E7DAB #2E3EAB #5C2EAB
triadic
#2E3EAB #AB2E3E #3EAB2E
tetradic
#2E3EAB #AB2E7D #AB9B2E #2EAB5C
square
#2E3EAB #AB2E7D #AB9B2E #2EAB5C
split-complementary
#2E3EAB #AB5C2E #7DAB2E
monochromatic
#141B4B #212D7B #2E3EAB #4859CE #7985DB

Accessibility & contrast

On white

8.77
#2E3EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2E3EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3EAB
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3EAB#FFFFFF#000000##FFFFFF
##2E3EAB1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#0045A9
Tritanopia (blue-blind)
#005A6E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e3eab;
/* rgb */ color: rgb(46, 62, 171);
/* oklch */ color: oklch(42.4% 0.174 270.5);
Tailwind
colors: {
  custom: {
    50: '#7973c5',
    500: '#2e3eab',
    950: '#000000',
  },
}
SCSS
$custom: #2e3eab;
$custom-light: #7973c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3eab",
  "rgb": {
    "r": 46,
    "g": 62,
    "b": 171
  },
  "hsl": {
    "h": 232.32,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.42408,
    "c": 0.17377,
    "h": 270.5
  },
  "luminance": 0.06966
}

Semantic roles & 50–950 ramp

primary
#2E3EAB
secondary
#C3B972
accent
#CD47E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2E3EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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