#2E2E72#2E2E72

#2E2E72 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.3% C 0.114 H 278.5°. Best body text is #FFFFFF at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#2E2E72
RGBrgb(46, 46, 114)
HSLhsl(240, 43%, 31%)
HSVhsv(240, 60%, 45%)
CMYKcmyk(59.6%, 59.6%, 0%, 55.3%)
CIE-LABlab(22.82, 21.73, -39.41)
CIE-LCHlch(22.82, 45.00, 298.87°)
OKLaboklab(34.34% 0.017 -0.113)
OKLCHoklch(34.34% 0.114 278.5)
XYZxyz(5.1400, 3.7494, 16.3692)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2E72 #72722E
analogous
#2E5072 #2E2E72 #502E72
triadic
#2E2E72 #722E2E #2E722E
tetradic
#2E2E72 #722E50 #72722E #2E7250
square
#2E2E72 #722E50 #72722E #2E7250
split-complementary
#2E2E72 #72502E #50722E
monochromatic
#0B0B1B #1C1C46 #2E2E72 #40409E #5D5DBE

Accessibility & contrast

On white

12.00
#2E2E72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#2E2E72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2E72
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2E72#FFFFFF#000000##FFFFFF
##2E2E721.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#073E4B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e2e72;
/* rgb */ color: rgb(46, 46, 114);
/* oklch */ color: oklch(34.3% 0.114 278.5);
Tailwind
colors: {
  custom: {
    50: '#6e669b',
    500: '#2e2e72',
    950: '#000000',
  },
}
SCSS
$custom: #2e2e72;
$custom-light: #6e669b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2e72",
  "rgb": {
    "r": 46,
    "g": 46,
    "b": 114
  },
  "hsl": {
    "h": 240,
    "s": 42.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.34344,
    "c": 0.11426,
    "h": 278.5
  },
  "luminance": 0.0375
}

Semantic roles & 50–950 ramp

primary
#2E2E72
secondary
#A3A358
accent
#D256D2
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08060E
muted
#7B7A7E

Preview Lab

Preview with #2E2E72

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

Preview Lab → · Contrast checker → · Palette generator →

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