#2E38AD#2E38AD

#2E38AD is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.5% C 0.183 H 271.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#2E38AD
RGBrgb(46, 56, 173)
HSLhsl(235, 58%, 43%)
HSVhsv(235, 73%, 68%)
CMYKcmyk(73.4%, 67.6%, 0%, 32.2%)
CIE-LABlab(30.46, 36.42, -63.42)
CIE-LCHlch(30.46, 73.13, 299.87°)
OKLaboklab(41.54% 0.0053 -0.1834)
OKLCHoklch(41.54% 0.183 271.7)
XYZxyz(10.0812, 6.4253, 40.2360)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E38AD #ADA32E
analogous
#2E77AD #2E38AD #642EAD
triadic
#2E38AD #AD2E38 #38AD2E
tetradic
#2E38AD #AD2E77 #ADA32E #2EAD64
square
#2E38AD #AD2E77 #ADA32E #2EAD64
split-complementary
#2E38AD #AD642E #77AD2E
monochromatic
#14194C #21287D #2E38AD #4954CF #7A82DC

Accessibility & contrast

On white

9.19
#2E38AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2E38AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E38AD
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E38AD#FFFFFF#000000##FFFFFF
##2E38AD1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EB1
Deuteranopia (green-blind)
#0042AB
Tritanopia (blue-blind)
#00576E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e38ad;
/* rgb */ color: rgb(46, 56, 173);
/* oklch */ color: oklch(41.5% 0.183 271.7);
Tailwind
colors: {
  custom: {
    50: '#7a6fc7',
    500: '#2e38ad',
    950: '#000000',
  },
}
SCSS
$custom: #2e38ad;
$custom-light: #7a6fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e38ad",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 173
  },
  "hsl": {
    "h": 235.276,
    "s": 57.991,
    "l": 42.941
  },
  "oklch": {
    "l": 0.41537,
    "c": 0.18346,
    "h": 271.7
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#2E38AD
secondary
#C4BD73
accent
#D547E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2E38AD

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

Preview Lab → · Contrast checker → · Palette generator →

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