#2E334C#2E334C

#2E334C is a dark, muted blue. Relative luminance 0.035; OKLCH L 32.8% C 0.045 H 275.0°. Best body text is #FFFFFF at 12.40:1 contrast (WCAG AA passes).

Color values

HEX#2E334C
RGBrgb(46, 51, 76)
HSLhsl(230, 25%, 24%)
HSVhsv(230, 39%, 30%)
CMYKcmyk(39.5%, 32.9%, 0%, 70.2%)
CIE-LABlab(21.84, 5.06, -16.07)
CIE-LCHlch(21.84, 16.85, 287.46°)
OKLaboklab(32.8% 0.0039 -0.0447)
OKLCHoklch(32.8% 0.045 275)
XYZxyz(3.6147, 3.4702, 7.3154)
Luminance0.0347 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E334C #4C472E
analogous
#2E424C #2E334C #382E4C
triadic
#2E334C #4C2E33 #334C2E
tetradic
#2E334C #4C2E42 #4C472E #2E4C38
square
#2E334C #4C2E42 #4C472E #2E4C38
split-complementary
#2E334C #4C382E #424C2E
monochromatic
#0C0D13 #171926 #2E334C #454D72 #5C6698

Accessibility & contrast

On white

12.40
#2E334C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#2E334C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E334C
12.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E334C#FFFFFF#000000##FFFFFF
##2E334C1.0012.401.6912.40
#FFFFFF12.401.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B364D
Deuteranopia (green-blind)
#29334B
Tritanopia (blue-blind)
#25383C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e334c;
/* rgb */ color: rgb(46, 51, 76);
/* oklch */ color: oklch(32.8% 0.045 275.0);
Tailwind
colors: {
  custom: {
    50: '#686a7e',
    500: '#2e334c',
    950: '#000000',
  },
}
SCSS
$custom: #2e334c;
$custom-light: #686a7e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e334c",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 76
  },
  "hsl": {
    "h": 230,
    "s": 24.59,
    "l": 23.922
  },
  "oklch": {
    "l": 0.32801,
    "c": 0.04492,
    "h": 275
  },
  "luminance": 0.0347
}

Semantic roles & 50–950 ramp

primary
#2E334C
secondary
#7D7759
accent
#B267C1
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #2E334C

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

Preview Lab → · Contrast checker → · Palette generator →

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