#2E2E70#2E2E70

#2E2E70 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.2% C 0.111 H 278.7°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#2E2E70
RGBrgb(46, 46, 112)
HSLhsl(240, 42%, 31%)
HSVhsv(240, 59%, 44%)
CMYKcmyk(58.9%, 58.9%, 0%, 56.1%)
CIE-LABlab(22.67, 21.01, -38.38)
CIE-LCHlch(22.67, 43.75, 298.70°)
OKLaboklab(34.18% 0.0169 -0.11)
OKLCHoklch(34.18% 0.111 278.7)
XYZxyz(5.0274, 3.7043, 15.7762)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E70 #70702E
analogous
#2E4F70 #2E2E70 #4F2E70
triadic
#2E2E70 #702E2E #2E702E
tetradic
#2E2E70 #702E4F #70702E #2E704F
square
#2E2E70 #702E4F #70702E #2E704F
split-complementary
#2E2E70 #704F2E #4F702E
monochromatic
#0A0A19 #1C1C45 #2E2E70 #40409B #5C5CBC

Accessibility & contrast

On white

12.06
#2E2E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2E2E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E70
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E70#FFFFFF#000000##FFFFFF
##2E2E701.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003972
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#0B3D4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e2e70;
/* rgb */ color: rgb(46, 46, 112);
/* oklch */ color: oklch(34.2% 0.111 278.7);
Tailwind
colors: {
  custom: {
    50: '#6d669a',
    500: '#2e2e70',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e70;
$custom-light: #6d669a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e70",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 240,
    "s": 41.772,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34178,
    "c": 0.11126,
    "h": 278.7
  },
  "luminance": 0.03705
}

Semantic roles & 50–950 ramp

primary
#2E2E70
secondary
#A1A158
accent
#D256D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2E2E70

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

Preview Lab → · Contrast checker → · Palette generator →

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