#2E344C#2E344C

#2E344C is a dark, muted blue. Relative luminance 0.036; OKLCH L 33.0% C 0.043 H 273.0°. Best body text is #FFFFFF at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#2E344C
RGBrgb(46, 52, 76)
HSLhsl(228, 25%, 24%)
HSVhsv(228, 39%, 30%)
CMYKcmyk(39.5%, 31.6%, 0%, 70.2%)
CIE-LABlab(22.15, 4.37, -15.58)
CIE-LCHlch(22.15, 16.18, 285.66°)
OKLaboklab(33.05% 0.0023 -0.0433)
OKLCHoklch(33.05% 0.043 273)
XYZxyz(3.6588, 3.5585, 7.3301)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E344C #4C462E
analogous
#2E434C #2E344C #372E4C
triadic
#2E344C #4C2E34 #344C2E
tetradic
#2E344C #4C2E43 #4C462E #2E4C37
square
#2E344C #4C2E43 #4C462E #2E4C37
split-complementary
#2E344C #4C372E #434C2E
monochromatic
#0C0D13 #171A26 #2E344C #454E72 #5C6898

Accessibility & contrast

On white

12.27
#2E344C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#2E344C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E344C
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E344C#FFFFFF#000000##FFFFFF
##2E344C1.0012.271.7112.27
#FFFFFF12.271.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C364D
Deuteranopia (green-blind)
#2A344B
Tritanopia (blue-blind)
#25393C
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e344c;
/* rgb */ color: rgb(46, 52, 76);
/* oklch */ color: oklch(33.0% 0.043 273.0);
Tailwind
colors: {
  custom: {
    50: '#686b7e',
    500: '#2e344c',
    950: '#000000',
  },
}
SCSS
$custom: #2e344c;
$custom-light: #686b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e344c",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 76
  },
  "hsl": {
    "h": 228,
    "s": 24.59,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33048,
    "c": 0.04339,
    "h": 273
  },
  "luminance": 0.03559
}

Semantic roles & 50–950 ramp

primary
#2E344C
secondary
#7D7659
accent
#AF67C1
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2E344C

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

Preview Lab → · Contrast checker → · Palette generator →

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