#2E346F#2E346F

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

Color values

HEX#2E346F
RGBrgb(46, 52, 111)
HSLhsl(234, 41%, 31%)
HSVhsv(234, 59%, 44%)
CMYKcmyk(58.6%, 53.2%, 0%, 56.5%)
CIE-LABlab(24.27, 16.51, -35.15)
CIE-LCHlch(24.27, 38.83, 295.16°)
OKLaboklab(35.35% 0.0099 -0.1004)
OKLCHoklch(35.35% 0.101 275.6)
XYZxyz(5.2230, 4.1842, 15.5682)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E346F #6F692E
analogous
#2E546F #2E346F #482E6F
triadic
#2E346F #6F2E34 #346F2E
tetradic
#2E346F #6F2E54 #6F692E #2E6F48
square
#2E346F #6F2E54 #6F692E #2E6F48
split-complementary
#2E346F #6F482E #546F2E
monochromatic
#0A0B18 #1C2044 #2E346F #40489A #5C65BB

Accessibility & contrast

On white

11.43
#2E346F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#2E346F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E346F
11.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E346F#FFFFFF#000000##FFFFFF
##2E346F1.0011.431.8411.43
#FFFFFF11.431.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153C71
Deuteranopia (green-blind)
#0B376E
Tritanopia (blue-blind)
#0B414C
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e346f;
/* rgb */ color: rgb(46, 52, 111);
/* oklch */ color: oklch(35.4% 0.101 275.6);
Tailwind
colors: {
  custom: {
    50: '#6d6b99',
    500: '#2e346f',
    950: '#000000',
  },
}
SCSS
$custom: #2e346f;
$custom-light: #6d6b99;
$custom-dark: #000000;
JSON
{
  "hex": "#2e346f",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 111
  },
  "hsl": {
    "h": 234.462,
    "s": 41.401,
    "l": 30.784
  },
  "oklch": {
    "l": 0.35354,
    "c": 0.1009,
    "h": 275.6
  },
  "luminance": 0.04185
}

Semantic roles & 50–950 ramp

primary
#2E346F
secondary
#A09A58
accent
#C657D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2E346F

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

Preview Lab → · Contrast checker → · Palette generator →

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