#2E2374#2E2374

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

Color values

HEX#2E2374
RGBrgb(46, 35, 116)
HSLhsl(248, 54%, 30%)
HSVhsv(248, 70%, 45%)
CMYKcmyk(60.3%, 69.8%, 0%, 54.5%)
CIE-LABlab(20.22, 29.72, -44.93)
CIE-LCHlch(20.22, 53.87, 303.48°)
OKLaboklab(32.49% 0.0282 -0.1293)
OKLCHoklch(32.49% 0.132 282.3)
XYZxyz(4.8792, 3.0435, 16.8500)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2374 #697423
analogous
#234174 #2E2374 #572374
triadic
#2E2374 #742E23 #23742E
tetradic
#2E2374 #742341 #697423 #237457
square
#2E2374 #742341 #697423 #237457
split-complementary
#2E2374 #745723 #417423
monochromatic
#090718 #1B1545 #2E2374 #4131A3 #5A49C8

Accessibility & contrast

On white

13.05
#2E2374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#2E2374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2374
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2374#FFFFFF#000000##FFFFFF
##2E23741.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#002E72
Tritanopia (blue-blind)
#063848
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e2374;
/* rgb */ color: rgb(46, 35, 116);
/* oklch */ color: oklch(32.5% 0.132 282.3);
Tailwind
colors: {
  custom: {
    50: '#6f5f9d',
    500: '#2e2374',
    950: '#000000',
  },
}
SCSS
$custom: #2e2374;
$custom-light: #6f5f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2374",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 116
  },
  "hsl": {
    "h": 248.148,
    "s": 53.642,
    "l": 29.608
  },
  "oklch": {
    "l": 0.32487,
    "c": 0.13234,
    "h": 282.3
  },
  "luminance": 0.03044
}

Semantic roles & 50–950 ramp

primary
#2E2374
secondary
#9BA74C
accent
#DD4BC9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2E2374

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

Preview Lab → · Contrast checker → · Palette generator →

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