#2E2273#2E2273

#2E2273 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.2% C 0.132 H 282.8°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#2E2273
RGBrgb(46, 34, 115)
HSLhsl(249, 54%, 29%)
HSVhsv(249, 70%, 45%)
CMYKcmyk(60%, 70.4%, 0%, 54.9%)
CIE-LABlab(19.89, 30.01, -44.82)
CIE-LCHlch(19.89, 53.94, 303.80°)
OKLaboklab(32.23% 0.0293 -0.129)
OKLCHoklch(32.23% 0.132 282.8)
XYZxyz(4.7923, 2.9624, 16.5356)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2273 #677322
analogous
#223F73 #2E2273 #572273
triadic
#2E2273 #732E22 #22732E
tetradic
#2E2273 #73223F #677322 #227357
square
#2E2273 #73223F #677322 #227357
split-complementary
#2E2273 #735722 #3F7322
monochromatic
#090718 #1B1444 #2E2273 #4130A2 #5A47C9

Accessibility & contrast

On white

13.19
#2E2273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#2E2273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2273
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2273#FFFFFF#000000##FFFFFF
##2E22731.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003375
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#083747
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e2273;
/* rgb */ color: rgb(46, 34, 115);
/* oklch */ color: oklch(32.2% 0.132 282.8);
Tailwind
colors: {
  custom: {
    50: '#6f5e9c',
    500: '#2e2273',
    950: '#000000',
  },
}
SCSS
$custom: #2e2273;
$custom-light: #6f5e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2273",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 248.889,
    "s": 54.362,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32225,
    "c": 0.13226,
    "h": 282.8
  },
  "luminance": 0.02963
}

Semantic roles & 50–950 ramp

primary
#2E2273
secondary
#99A64B
accent
#DE4AC8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2E2273

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

Preview Lab → · Contrast checker → · Palette generator →

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