#2E2B72#2E2B72

#2E2B72 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.8% C 0.119 H 279.8°. Best body text is #FFFFFF at 12.32:1 contrast (WCAG AA passes).

Color values

HEX#2E2B72
RGBrgb(46, 43, 114)
HSLhsl(243, 45%, 31%)
HSVhsv(243, 62%, 45%)
CMYKcmyk(59.6%, 62.3%, 0%, 55.3%)
CIE-LABlab(22.03, 23.77, -40.70)
CIE-LCHlch(22.03, 47.13, 300.29°)
OKLaboklab(33.75% 0.0202 -0.1168)
OKLCHoklch(33.75% 0.119 279.8)
XYZxyz(5.0269, 3.5232, 16.3315)
Luminance0.0352 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2B72 #6F722B
analogous
#2B4B72 #2E2B72 #512B72
triadic
#2E2B72 #722E2B #2B722E
tetradic
#2E2B72 #722B4B #6F722B #2B7251
square
#2E2B72 #722B4B #6F722B #2B7251
split-complementary
#2E2B72 #72512B #4B722B
monochromatic
#0A0919 #1C1A46 #2E2B72 #403C9E #5C58C0

Accessibility & contrast

On white

12.32
#2E2B72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2E2B72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2B72
12.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2B72#FFFFFF#000000##FFFFFF
##2E2B721.0012.321.7012.32
#FFFFFF12.321.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003774
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#083C4A
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e2b72;
/* rgb */ color: rgb(46, 43, 114);
/* oklch */ color: oklch(33.8% 0.119 279.8);
Tailwind
colors: {
  custom: {
    50: '#6e649b',
    500: '#2e2b72',
    950: '#000000',
  },
}
SCSS
$custom: #2e2b72;
$custom-light: #6e649b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2b72",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 114
  },
  "hsl": {
    "h": 242.535,
    "s": 45.223,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33754,
    "c": 0.11857,
    "h": 279.8
  },
  "luminance": 0.03524
}

Semantic roles & 50–950 ramp

primary
#2E2B72
secondary
#A0A455
accent
#D553CF
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08050E
muted
#7B7A7E

Preview Lab

Preview with #2E2B72

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

Preview Lab → · Contrast checker → · Palette generator →

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