#2E3CC7#2E3CC7

#2E3CC7 is a dark, highly saturated blue. Relative luminance 0.079; OKLCH L 44.7% C 0.212 H 270.1°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2E3CC7
RGBrgb(46, 60, 199)
HSLhsl(235, 62%, 48%)
HSVhsv(235, 77%, 78%)
CMYKcmyk(76.9%, 69.8%, 0%, 22%)
CIE-LABlab(33.85, 43.08, -73.21)
CIE-LCHlch(33.85, 84.94, 300.47°)
OKLaboklab(44.74% 0.0005 -0.212)
OKLCHoklch(44.74% 0.212 270.1)
XYZxyz(13.0479, 7.9346, 54.8656)
Luminance0.0794 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3CC7 #C7B92E
analogous
#2E88C7 #2E3CC7 #6D2EC7
triadic
#2E3CC7 #C72E3C #3CC72E
tetradic
#2E3CC7 #C72E88 #C7B92E #2EC76D
square
#2E3CC7 #C72E88 #C7B92E #2EC76D
split-complementary
#2E3CC7 #C76D2E #88C72E
monochromatic
#171E64 #232D95 #2E3CC7 #5965D9 #8B93E4

Accessibility & contrast

On white

8.12
#2E3CC7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2E3CC7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3CC7
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3CC7#FFFFFF#000000##FFFFFF
##2E3CC71.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CB
Deuteranopia (green-blind)
#0048C4
Tritanopia (blue-blind)
#00637D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e3cc7;
/* rgb */ color: rgb(46, 60, 199);
/* oklch */ color: oklch(44.7% 0.212 270.1);
Tailwind
colors: {
  custom: {
    50: '#8072d9',
    500: '#2e3cc7',
    950: '#000000',
  },
}
SCSS
$custom: #2e3cc7;
$custom-light: #8072d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3cc7",
  "rgb": {
    "r": 46,
    "g": 60,
    "b": 199
  },
  "hsl": {
    "h": 234.51,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.44738,
    "c": 0.21197,
    "h": 270.1
  },
  "luminance": 0.07936
}

Semantic roles & 50–950 ramp

primary
#2E3CC7
secondary
#CEC783
accent
#D742E6
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2E3CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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