#2E345E#2E345E

#2E345E is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.074 H 275.6°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#2E345E
RGBrgb(46, 52, 94)
HSLhsl(233, 34%, 27%)
HSVhsv(233, 51%, 37%)
CMYKcmyk(51.1%, 44.7%, 0%, 63.1%)
CIE-LABlab(23.15, 10.43, -25.92)
CIE-LCHlch(23.15, 27.94, 291.91°)
OKLaboklab(34.14% 0.0073 -0.0733)
OKLCHoklch(34.14% 0.074 275.6)
XYZxyz(4.3745, 3.8447, 11.0991)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E345E #5E582E
analogous
#2E4C5E #2E345E #402E5E
triadic
#2E345E #5E2E34 #345E2E
tetradic
#2E345E #5E2E4C #5E582E #2E5E40
square
#2E345E #5E2E4C #5E582E #2E5E40
split-complementary
#2E345E #5E402E #4C5E2E
monochromatic
#0A0B15 #1A1D35 #2E345E #424B87 #5963AE

Accessibility & contrast

On white

11.87
#2E345E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2E345E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E345E
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E345E#FFFFFF#000000##FFFFFF
##2E345E1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243960
Deuteranopia (green-blind)
#20355D
Tritanopia (blue-blind)
#1C3D44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e345e;
/* rgb */ color: rgb(46, 52, 94);
/* oklch */ color: oklch(34.1% 0.074 275.6);
Tailwind
colors: {
  custom: {
    50: '#6a6b8c',
    500: '#2e345e',
    950: '#000000',
  },
}
SCSS
$custom: #2e345e;
$custom-light: #6a6b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e345e",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 94
  },
  "hsl": {
    "h": 232.5,
    "s": 34.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34142,
    "c": 0.07371,
    "h": 275.6
  },
  "luminance": 0.03845
}

Semantic roles & 50–950 ramp

primary
#2E345E
secondary
#908958
accent
#BD5DCA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #2E345E

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

Preview Lab → · Contrast checker → · Palette generator →

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