#2E2274#2E2274

#2E2274 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 32.3% C 0.134 H 282.6°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#2E2274
RGBrgb(46, 34, 116)
HSLhsl(249, 55%, 29%)
HSVhsv(249, 71%, 45%)
CMYKcmyk(60.3%, 70.7%, 0%, 54.5%)
CIE-LABlab(19.99, 30.35, -45.31)
CIE-LCHlch(19.99, 54.53, 303.81°)
OKLaboklab(32.32% 0.0292 -0.1304)
OKLCHoklch(32.32% 0.134 282.6)
XYZxyz(4.8502, 2.9855, 16.8403)
Luminance0.0299 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2274 #687422
analogous
#223F74 #2E2274 #572274
triadic
#2E2274 #742E22 #22742E
tetradic
#2E2274 #74223F #687422 #227457
square
#2E2274 #74223F #687422 #227457
split-complementary
#2E2274 #745722 #3F7422
monochromatic
#090718 #1B1445 #2E2274 #4130A3 #5A47C9

Accessibility & contrast

On white

13.15
#2E2274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#2E2274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2274
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2274#FFFFFF#000000##FFFFFF
##2E22741.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003377
Deuteranopia (green-blind)
#002D72
Tritanopia (blue-blind)
#063748
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #2e2274;
/* rgb */ color: rgb(46, 34, 116);
/* oklch */ color: oklch(32.3% 0.134 282.6);
Tailwind
colors: {
  custom: {
    50: '#6f5e9d',
    500: '#2e2274',
    950: '#000000',
  },
}
SCSS
$custom: #2e2274;
$custom-light: #6f5e9d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2274",
  "rgb": {
    "r": 46,
    "g": 34,
    "b": 116
  },
  "hsl": {
    "h": 248.78,
    "s": 54.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32321,
    "c": 0.13363,
    "h": 282.6
  },
  "luminance": 0.02986
}

Semantic roles & 50–950 ramp

primary
#2E2274
secondary
#9AA74B
accent
#DE4AC8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2E2274

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

Preview Lab → · Contrast checker → · Palette generator →

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