#2E38BF#2E38BF

#2E38BF is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.3% C 0.206 H 270.9°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#2E38BF
RGBrgb(46, 56, 191)
HSLhsl(236, 61%, 46%)
HSVhsv(236, 76%, 75%)
CMYKcmyk(75.9%, 70.7%, 0%, 25.1%)
CIE-LABlab(32.19, 42.71, -71.25)
CIE-LCHlch(32.19, 83.07, 300.94°)
OKLaboklab(43.31% 0.0033 -0.2062)
OKLCHoklch(43.31% 0.206 270.9)
XYZxyz(11.9417, 7.1695, 50.0346)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E38BF #BFB52E
analogous
#2E81BF #2E38BF #6D2EBF
triadic
#2E38BF #BF2E38 #38BF2E
tetradic
#2E38BF #BF2E81 #BFB52E #2EBF6D
square
#2E38BF #BF2E81 #BFB52E #2EBF6D
split-complementary
#2E38BF #BF6D2E #81BF2E
monochromatic
#161B5C #222A8E #2E38BF #545DD6 #868CE2

Accessibility & contrast

On white

8.63
#2E38BF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2E38BF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E38BF
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E38BF#FFFFFF#000000##FFFFFF
##2E38BF1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#0045BD
Tritanopia (blue-blind)
#005E77
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2e38bf;
/* rgb */ color: rgb(46, 56, 191);
/* oklch */ color: oklch(43.3% 0.206 270.9);
Tailwind
colors: {
  custom: {
    50: '#7e6fd4',
    500: '#2e38bf',
    950: '#000000',
  },
}
SCSS
$custom: #2e38bf;
$custom-light: #7e6fd4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e38bf",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 191
  },
  "hsl": {
    "h": 235.862,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43309,
    "c": 0.20628,
    "h": 270.9
  },
  "luminance": 0.07171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E38BF

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

Preview Lab → · Contrast checker → · Palette generator →

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