#2E346E#2E346E

#2E346E is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.3% C 0.099 H 275.6°. Best body text is #FFFFFF at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#2E346E
RGBrgb(46, 52, 110)
HSLhsl(234, 41%, 31%)
HSVhsv(234, 58%, 43%)
CMYKcmyk(58.2%, 52.7%, 0%, 56.9%)
CIE-LABlab(24.20, 16.15, -34.62)
CIE-LCHlch(24.20, 38.20, 295.00°)
OKLaboklab(35.28% 0.0098 -0.0989)
OKLCHoklch(35.28% 0.099 275.6)
XYZxyz(5.1683, 4.1623, 15.2799)
Luminance0.0416 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E346E #6E682E
analogous
#2E546E #2E346E #482E6E
triadic
#2E346E #6E2E34 #346E2E
tetradic
#2E346E #6E2E54 #6E682E #2E6E48
square
#2E346E #6E2E54 #6E682E #2E6E48
split-complementary
#2E346E #6E482E #546E2E
monochromatic
#0A0B18 #1C2043 #2E346E #404899 #5C65BB

Accessibility & contrast

On white

11.46
#2E346E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2E346E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E346E
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E346E#FFFFFF#000000##FFFFFF
##2E346E1.0011.461.8311.46
#FFFFFF11.461.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173C70
Deuteranopia (green-blind)
#0D376D
Tritanopia (blue-blind)
#0C414B
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e346e;
/* rgb */ color: rgb(46, 52, 110);
/* oklch */ color: oklch(35.3% 0.099 275.6);
Tailwind
colors: {
  custom: {
    50: '#6d6b98',
    500: '#2e346e',
    950: '#000000',
  },
}
SCSS
$custom: #2e346e;
$custom-light: #6d6b98;
$custom-dark: #000000;
JSON
{
  "hex": "#2e346e",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 110
  },
  "hsl": {
    "h": 234.375,
    "s": 41.026,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35279,
    "c": 0.09935,
    "h": 275.6
  },
  "luminance": 0.04163
}

Semantic roles & 50–950 ramp

primary
#2E346E
secondary
#9F9958
accent
#C557D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2E346E

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

Preview Lab → · Contrast checker → · Palette generator →

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