#2E349C#2E349C

#2E349C is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.2% C 0.166 H 273.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).

Color values

HEX#2E349C
RGBrgb(46, 52, 156)
HSLhsl(237, 54%, 40%)
HSVhsv(237, 71%, 61%)
CMYKcmyk(70.5%, 66.7%, 0%, 38.8%)
CIE-LABlab(27.94, 32.89, -57.28)
CIE-LCHlch(27.94, 66.06, 299.86°)
OKLaboklab(39.23% 0.0096 -0.1655)
OKLCHoklch(39.23% 0.166 273.3)
XYZxyz(8.3534, 5.4363, 32.0551)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E349C #9C962E
analogous
#2E6B9C #2E349C #5F2E9C
triadic
#2E349C #9C2E34 #349C2E
tetradic
#2E349C #9C2E6B #9C962E #2E9C5F
square
#2E349C #9C2E6B #9C962E #2E9C5F
split-complementary
#2E349C #9C5F2E #6B9C2E
monochromatic
#12143D #20246D #2E349C #4048C7 #7075D5

Accessibility & contrast

On white

10.06
#2E349C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2E349C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E349C
10.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E349C#FFFFFF#000000##FFFFFF
##2E349C1.0010.062.0910.06
#FFFFFF10.061.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#004F63
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e349c;
/* rgb */ color: rgb(46, 52, 156);
/* oklch */ color: oklch(39.2% 0.166 273.3);
Tailwind
colors: {
  custom: {
    50: '#766cba',
    500: '#2e349c',
    950: '#000000',
  },
}
SCSS
$custom: #2e349c;
$custom-light: #766cba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e349c",
  "rgb": {
    "r": 46,
    "g": 52,
    "b": 156
  },
  "hsl": {
    "h": 236.727,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39225,
    "c": 0.16573,
    "h": 273.3
  },
  "luminance": 0.05437
}

Semantic roles & 50–950 ramp

primary
#2E349C
secondary
#BCB86A
accent
#D64ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E349C

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

Preview Lab → · Contrast checker → · Palette generator →

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