#2E38BD#2E38BD

#2E38BD is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.1% C 0.204 H 271.0°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#2E38BD
RGBrgb(46, 56, 189)
HSLhsl(236, 61%, 46%)
HSVhsv(236, 76%, 74%)
CMYKcmyk(75.7%, 70.4%, 0%, 25.9%)
CIE-LABlab(31.99, 42.02, -70.40)
CIE-LCHlch(31.99, 81.99, 300.83°)
OKLaboklab(43.11% 0.0036 -0.2038)
OKLCHoklch(43.11% 0.204 271)
XYZxyz(11.7231, 7.0820, 48.8834)
Luminance0.0708 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E38BD #BDB32E
analogous
#2E7FBD #2E38BD #6B2EBD
triadic
#2E38BD #BD2E38 #38BD2E
tetradic
#2E38BD #BD2E7F #BDB32E #2EBD6B
square
#2E38BD #BD2E7F #BDB32E #2EBD6B
split-complementary
#2E38BD #BD6B2E #7FBD2E
monochromatic
#161B5B #22298C #2E38BD #535CD5 #848BE1

Accessibility & contrast

On white

8.69
#2E38BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2E38BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E38BD
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E38BD#FFFFFF#000000##FFFFFF
##2E38BD1.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C1
Deuteranopia (green-blind)
#0044BB
Tritanopia (blue-blind)
#005D76
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e38bd;
/* rgb */ color: rgb(46, 56, 189);
/* oklch */ color: oklch(43.1% 0.204 271.0);
Tailwind
colors: {
  custom: {
    50: '#7e6fd2',
    500: '#2e38bd',
    950: '#000000',
  },
}
SCSS
$custom: #2e38bd;
$custom-light: #7e6fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e38bd",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 189
  },
  "hsl": {
    "h": 235.804,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43108,
    "c": 0.20379,
    "h": 271
  },
  "luminance": 0.07083
}

Semantic roles & 50–950 ramp

primary
#2E38BD
secondary
#CAC57C
accent
#D944E4
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2E38BD

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

Preview Lab → · Contrast checker → · Palette generator →

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