#2E38BE#2E38BE

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

Color values

HEX#2E38BE
RGBrgb(46, 56, 190)
HSLhsl(236, 61%, 46%)
HSVhsv(236, 76%, 75%)
CMYKcmyk(75.8%, 70.5%, 0%, 25.5%)
CIE-LABlab(32.09, 42.37, -70.82)
CIE-LCHlch(32.09, 82.53, 300.89°)
OKLaboklab(43.21% 0.0035 -0.205)
OKLCHoklch(43.21% 0.205 271)
XYZxyz(11.8320, 7.1256, 49.4570)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E38BE #BEB42E
analogous
#2E80BE #2E38BE #6C2EBE
triadic
#2E38BE #BE2E38 #38BE2E
tetradic
#2E38BE #BE2E80 #BEB42E #2EBE6C
square
#2E38BE #BE2E80 #BEB42E #2EBE6C
split-complementary
#2E38BE #BE6C2E #80BE2E
monochromatic
#161B5B #22298D #2E38BE #545DD6 #858BE1

Accessibility & contrast

On white

8.66
#2E38BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E38BE
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E38BE#FFFFFF#000000##FFFFFF
##2E38BE1.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052C2
Deuteranopia (green-blind)
#0045BC
Tritanopia (blue-blind)
#005D77
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e38be;
/* rgb */ color: rgb(46, 56, 190);
/* oklch */ color: oklch(43.2% 0.205 271.0);
Tailwind
colors: {
  custom: {
    50: '#7e6fd3',
    500: '#2e38be',
    950: '#000000',
  },
}
SCSS
$custom: #2e38be;
$custom-light: #7e6fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e38be",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 190
  },
  "hsl": {
    "h": 235.833,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.43209,
    "c": 0.20504,
    "h": 271
  },
  "luminance": 0.07127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E38BE

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

Preview Lab → · Contrast checker → · Palette generator →

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