#2E3564#2E3564

#2E3564 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.8% C 0.082 H 274.9°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#2E3564
RGBrgb(46, 53, 100)
HSLhsl(232, 37%, 29%)
HSVhsv(232, 54%, 39%)
CMYKcmyk(54%, 47%, 0%, 60.8%)
CIE-LABlab(23.83, 11.85, -28.76)
CIE-LCHlch(23.83, 31.11, 292.39°)
OKLaboklab(34.78% 0.0071 -0.0817)
OKLCHoklch(34.78% 0.082 274.9)
XYZxyz(4.6993, 4.0469, 12.5876)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3564 #645D2E
analogous
#2E5064 #2E3564 #422E64
triadic
#2E3564 #642E35 #35642E
tetradic
#2E3564 #642E50 #645D2E #2E6442
square
#2E3564 #642E50 #645D2E #2E6442
split-complementary
#2E3564 #64422E #50642E
monochromatic
#0A0B15 #1B1F3A #2E3564 #414B8E #5A65B3

Accessibility & contrast

On white

11.61
#2E3564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2E3564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3564
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3564#FFFFFF#000000##FFFFFF
##2E35641.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213B66
Deuteranopia (green-blind)
#1C3763
Tritanopia (blue-blind)
#173F47
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e3564;
/* rgb */ color: rgb(46, 53, 100);
/* oklch */ color: oklch(34.8% 0.082 274.9);
Tailwind
colors: {
  custom: {
    50: '#6b6c90',
    500: '#2e3564',
    950: '#000000',
  },
}
SCSS
$custom: #2e3564;
$custom-light: #6b6c90;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3564",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 100
  },
  "hsl": {
    "h": 232.222,
    "s": 36.986,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34779,
    "c": 0.08196,
    "h": 274.9
  },
  "luminance": 0.04047
}

Semantic roles & 50–950 ramp

primary
#2E3564
secondary
#968E58
accent
#BE5BCD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #2E3564

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

Preview Lab → · Contrast checker → · Palette generator →

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