#2E345F#2E345F

#2E345F is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.2% C 0.075 H 275.7°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#2E345F
RGBrgb(46, 52, 95)
HSLhsl(233, 35%, 28%)
HSVhsv(233, 52%, 37%)
CMYKcmyk(51.6%, 45.3%, 0%, 62.7%)
CIE-LABlab(23.21, 10.78, -26.48)
CIE-LCHlch(23.21, 28.59, 292.15°)
OKLaboklab(34.21% 0.0075 -0.075)
OKLCHoklch(34.21% 0.075 275.7)
XYZxyz(4.4196, 3.8628, 11.3370)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E345F #5F592E
analogous
#2E4C5F #2E345F #402E5F
triadic
#2E345F #5F2E34 #345F2E
tetradic
#2E345F #5F2E4C #5F592E #2E5F40
square
#2E345F #5F2E4C #5F592E #2E5F40
split-complementary
#2E345F #5F402E #4C5F2E
monochromatic
#0A0B15 #1A1D36 #2E345F #424B88 #5963AF

Accessibility & contrast

On white

11.85
#2E345F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E345F
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E345F#FFFFFF#000000##FFFFFF
##2E345F1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233961
Deuteranopia (green-blind)
#1F355E
Tritanopia (blue-blind)
#1B3D44
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e345f;
/* rgb */ color: rgb(46, 52, 95);
/* oklch */ color: oklch(34.2% 0.075 275.7);
Tailwind
colors: {
  custom: {
    50: '#6a6b8c',
    500: '#2e345f',
    950: '#000000',
  },
}
SCSS
$custom: #2e345f;
$custom-light: #6a6b8c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e345f",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 95
  },
  "hsl": {
    "h": 232.653,
    "s": 34.752,
    "l": 27.647
  },
  "oklch": {
    "l": 0.34209,
    "c": 0.07535,
    "h": 275.7
  },
  "luminance": 0.03863
}

Semantic roles & 50–950 ramp

primary
#2E345F
secondary
#918A58
accent
#BD5DCB
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #2E345F

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

Preview Lab → · Contrast checker → · Palette generator →

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