#2E3466#2E3466

#2E3466 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.7% C 0.087 H 275.8°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#2E3466
RGBrgb(46, 52, 102)
HSLhsl(234, 38%, 29%)
HSVhsv(234, 55%, 40%)
CMYKcmyk(54.9%, 49%, 0%, 60%)
CIE-LABlab(23.66, 13.26, -30.33)
CIE-LCHlch(23.66, 33.10, 293.62°)
OKLaboklab(34.69% 0.0087 -0.0863)
OKLCHoklch(34.69% 0.087 275.8)
XYZxyz(4.7522, 3.9958, 13.0887)
Luminance0.0400 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3466 #66602E
analogous
#2E5066 #2E3466 #442E66
triadic
#2E3466 #662E34 #34662E
tetradic
#2E3466 #662E50 #66602E #2E6644
square
#2E3466 #662E50 #66602E #2E6644
split-complementary
#2E3466 #66442E #50662E
monochromatic
#0A0B15 #1B1E3C #2E3466 #414A90 #5A64B5

Accessibility & contrast

On white

11.67
#2E3466 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2E3466 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3466
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3466#FFFFFF#000000##FFFFFF
##2E34661.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3B68
Deuteranopia (green-blind)
#183665
Tritanopia (blue-blind)
#163F48
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e3466;
/* rgb */ color: rgb(46, 52, 102);
/* oklch */ color: oklch(34.7% 0.087 275.8);
Tailwind
colors: {
  custom: {
    50: '#6b6b92',
    500: '#2e3466',
    950: '#000000',
  },
}
SCSS
$custom: #2e3466;
$custom-light: #6b6b92;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3466",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 102
  },
  "hsl": {
    "h": 233.571,
    "s": 37.838,
    "l": 29.02
  },
  "oklch": {
    "l": 0.34693,
    "c": 0.0867,
    "h": 275.8
  },
  "luminance": 0.03996
}

Semantic roles & 50–950 ramp

primary
#2E3466
secondary
#989158
accent
#C15ACE
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2E3466

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

Preview Lab → · Contrast checker → · Palette generator →

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