#2E345C#2E345C

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

Color values

HEX#2E345C
RGBrgb(46, 52, 92)
HSLhsl(232, 33%, 27%)
HSVhsv(232, 50%, 36%)
CMYKcmyk(50%, 43.5%, 0%, 63.9%)
CIE-LABlab(23.03, 9.73, -24.80)
CIE-LCHlch(23.03, 26.65, 291.42°)
OKLaboklab(34.01% 0.0068 -0.0701)
OKLCHoklch(34.01% 0.07 275.6)
XYZxyz(4.2859, 3.8093, 10.6326)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E345C #5C562E
analogous
#2E4B5C #2E345C #3F2E5C
triadic
#2E345C #5C2E34 #345C2E
tetradic
#2E345C #5C2E4B #5C562E #2E5C3F
square
#2E345C #5C2E4B #5C562E #2E5C3F
split-complementary
#2E345C #5C3F2E #4B5C2E
monochromatic
#0A0C14 #1A1D33 #2E345C #424B85 #5963AC

Accessibility & contrast

On white

11.92
#2E345C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2E345C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E345C
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E345C#FFFFFF#000000##FFFFFF
##2E345C1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395E
Deuteranopia (green-blind)
#21355B
Tritanopia (blue-blind)
#1D3C43
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e345c;
/* rgb */ color: rgb(46, 52, 92);
/* oklch */ color: oklch(34.0% 0.070 275.6);
Tailwind
colors: {
  custom: {
    50: '#6a6b8a',
    500: '#2e345c',
    950: '#000000',
  },
}
SCSS
$custom: #2e345c;
$custom-light: #6a6b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e345c",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 92
  },
  "hsl": {
    "h": 232.174,
    "s": 33.333,
    "l": 27.059
  },
  "oklch": {
    "l": 0.34011,
    "c": 0.07041,
    "h": 275.6
  },
  "luminance": 0.0381
}

Semantic roles & 50–950 ramp

primary
#2E345C
secondary
#8E8758
accent
#BB5EC9
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #2E345C

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

Preview Lab → · Contrast checker → · Palette generator →

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