#2E2A6F#2E2A6F

#2E2A6F is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.3% C 0.116 H 280.7°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#2E2A6F
RGBrgb(46, 42, 111)
HSLhsl(243, 45%, 30%)
HSVhsv(243, 62%, 44%)
CMYKcmyk(58.6%, 62.2%, 0%, 56.5%)
CIE-LABlab(21.52, 23.38, -39.59)
CIE-LCHlch(21.52, 45.98, 300.56°)
OKLaboklab(33.3% 0.0214 -0.1136)
OKLCHoklch(33.3% 0.116 280.7)
XYZxyz(4.8230, 3.3842, 15.4349)
Luminance0.0338 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2A6F #6B6F2A
analogous
#2A496F #2E2A6F #502A6F
triadic
#2E2A6F #6F2E2A #2A6F2E
tetradic
#2E2A6F #6F2A49 #6B6F2A #2A6F50
square
#2E2A6F #6F2A49 #6B6F2A #2A6F50
split-complementary
#2E2A6F #6F502A #496F2A
monochromatic
#090816 #1C1943 #2E2A6F #403B9B #5B55BF

Accessibility & contrast

On white

12.52
#2E2A6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2A6F
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2A6F#FFFFFF#000000##FFFFFF
##2E2A6F1.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#00316E
Tritanopia (blue-blind)
#0D3A48
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e2a6f;
/* rgb */ color: rgb(46, 42, 111);
/* oklch */ color: oklch(33.3% 0.116 280.7);
Tailwind
colors: {
  custom: {
    50: '#6e6399',
    500: '#2e2a6f',
    950: '#000000',
  },
}
SCSS
$custom: #2e2a6f;
$custom-light: #6e6399;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2a6f",
  "rgb": {
    "r": 46,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 243.478,
    "s": 45.098,
    "l": 30
  },
  "oklch": {
    "l": 0.33303,
    "c": 0.11558,
    "h": 280.7
  },
  "luminance": 0.03384
}

Semantic roles & 50–950 ramp

primary
#2E2A6F
secondary
#9DA154
accent
#D553CD
background
#F6F5F9
surface
#ECEAF2
border
#C7C6CC
text
#08050E
muted
#7B797E

Preview Lab

Preview with #2E2A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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