#2E3670#2E3670

#2E3670 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.9% C 0.100 H 274.4°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2E3670
RGBrgb(46, 54, 112)
HSLhsl(233, 42%, 31%)
HSVhsv(233, 59%, 44%)
CMYKcmyk(58.9%, 51.8%, 0%, 56.1%)
CIE-LABlab(24.92, 15.49, -34.75)
CIE-LCHlch(24.92, 38.05, 294.02°)
OKLaboklab(35.87% 0.0076 -0.0992)
OKLCHoklch(35.87% 0.1 274.4)
XYZxyz(5.3696, 4.3886, 15.8902)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3670 #70682E
analogous
#2E5770 #2E3670 #472E70
triadic
#2E3670 #702E36 #36702E
tetradic
#2E3670 #702E57 #70682E #2E7047
square
#2E3670 #702E57 #70682E #2E7047
split-complementary
#2E3670 #70472E #57702E
monochromatic
#0A0C19 #1C2145 #2E3670 #404B9B #5C68BC

Accessibility & contrast

On white

11.18
#2E3670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2E3670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3670
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3670#FFFFFF#000000##FFFFFF
##2E36701.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193E72
Deuteranopia (green-blind)
#0F386F
Tritanopia (blue-blind)
#08434D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e3670;
/* rgb */ color: rgb(46, 54, 112);
/* oklch */ color: oklch(35.9% 0.100 274.4);
Tailwind
colors: {
  custom: {
    50: '#6d6c99',
    500: '#2e3670',
    950: '#000000',
  },
}
SCSS
$custom: #2e3670;
$custom-light: #6d6c99;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3670",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 112
  },
  "hsl": {
    "h": 232.727,
    "s": 41.772,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35865,
    "c": 0.09952,
    "h": 274.4
  },
  "luminance": 0.04389
}

Semantic roles & 50–950 ramp

primary
#2E3670
secondary
#A19958
accent
#C356D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2E3670

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

Preview Lab → · Contrast checker → · Palette generator →

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