#2E2A70#2E2A70

#2E2A70 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.4% C 0.117 H 280.5°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#2E2A70
RGBrgb(46, 42, 112)
HSLhsl(243, 45%, 30%)
HSVhsv(243, 63%, 44%)
CMYKcmyk(58.9%, 62.5%, 0%, 56.1%)
CIE-LABlab(21.60, 23.74, -40.10)
CIE-LCHlch(21.60, 46.60, 300.62°)
OKLaboklab(33.39% 0.0214 -0.1151)
OKLCHoklch(33.39% 0.117 280.5)
XYZxyz(4.8784, 3.4063, 15.7265)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A70 #6C702A
analogous
#2A4970 #2E2A70 #512A70
triadic
#2E2A70 #702E2A #2A702E
tetradic
#2E2A70 #702A49 #6C702A #2A7051
square
#2E2A70 #702A49 #6C702A #2A7051
split-complementary
#2E2A70 #70512A #49702A
monochromatic
#090917 #1C1943 #2E2A70 #403B9D #5B55BF

Accessibility & contrast

On white

12.49
#2E2A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2E2A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2A70
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A70#FFFFFF#000000##FFFFFF
##2E2A701.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003672
Deuteranopia (green-blind)
#00316F
Tritanopia (blue-blind)
#0C3B48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e2a70;
/* rgb */ color: rgb(46, 42, 112);
/* oklch */ color: oklch(33.4% 0.117 280.5);
Tailwind
colors: {
  custom: {
    50: '#6e639a',
    500: '#2e2a70',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a70;
$custom-light: #6e639a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a70",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 112
  },
  "hsl": {
    "h": 243.429,
    "s": 45.455,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33389,
    "c": 0.11705,
    "h": 280.5
  },
  "luminance": 0.03407
}

Semantic roles & 50–950 ramp

primary
#2E2A70
secondary
#9EA254
accent
#D553CE
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2E2A70

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

Preview Lab → · Contrast checker → · Palette generator →

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