#2E2375#2E2375

#2E2375 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.134 H 282.1°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#2E2375
RGBrgb(46, 35, 117)
HSLhsl(248, 54%, 30%)
HSVhsv(248, 70%, 46%)
CMYKcmyk(60.7%, 70.1%, 0%, 54.1%)
CIE-LABlab(20.31, 30.06, -45.42)
CIE-LCHlch(20.31, 54.47, 303.49°)
OKLaboklab(32.58% 0.0281 -0.1307)
OKLCHoklch(32.58% 0.134 282.1)
XYZxyz(4.9376, 3.0669, 17.1580)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2375 #6A7523
analogous
#234175 #2E2375 #572375
triadic
#2E2375 #752E23 #23752E
tetradic
#2E2375 #752341 #6A7523 #237557
square
#2E2375 #752341 #6A7523 #237557
split-complementary
#2E2375 #755723 #417523
monochromatic
#090718 #1B1546 #2E2375 #4131A4 #5B4AC9

Accessibility & contrast

On white

13.02
#2E2375 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E2375
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2375#FFFFFF#000000##FFFFFF
##2E23751.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003478
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#043849
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #2e2375;
/* rgb */ color: rgb(46, 35, 117);
/* oklch */ color: oklch(32.6% 0.134 282.1);
Tailwind
colors: {
  custom: {
    50: '#6f5f9e',
    500: '#2e2375',
    950: '#000000',
  },
}
SCSS
$custom: #2e2375;
$custom-light: #6f5f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2375",
  "rgb": {
    "r": 46,
    "g": 35,
    "b": 117
  },
  "hsl": {
    "h": 248.049,
    "s": 53.947,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32583,
    "c": 0.13372,
    "h": 282.1
  },
  "luminance": 0.03067
}

Semantic roles & 50–950 ramp

primary
#2E2375
secondary
#9CA84C
accent
#DD4ACA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #2E2375

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

Preview Lab → · Contrast checker → · Palette generator →

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