#2E2CA8#2E2CA8

#2E2CA8 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.1% C 0.190 H 273.9°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#2E2CA8
RGBrgb(46, 44, 168)
HSLhsl(241, 58%, 42%)
HSVhsv(241, 74%, 66%)
CMYKcmyk(72.6%, 73.8%, 0%, 34.1%)
CIE-LABlab(27.32, 41.95, -65.58)
CIE-LCHlch(27.32, 77.85, 302.61°)
OKLaboklab(39.13% 0.0129 -0.1897)
OKLCHoklch(39.13% 0.19 273.9)
XYZxyz(9.0929, 5.2085, 37.5643)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2CA8 #A6A82C
analogous
#2C68A8 #2E2CA8 #6C2CA8
triadic
#2E2CA8 #A82E2C #2CA82E
tetradic
#2E2CA8 #A82C68 #A6A82C #2CA86C
square
#2E2CA8 #A82C68 #A6A82C #2CA86C
split-complementary
#2E2CA8 #A86C2C #68A82C
monochromatic
#131347 #211F78 #2E2CA8 #4643CE #7674DB

Accessibility & contrast

On white

10.29
#2E2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2E2CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2CA8
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2CA8#FFFFFF#000000##FFFFFF
##2E2CA81.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#004F67
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2e2ca8;
/* rgb */ color: rgb(46, 44, 168);
/* oklch */ color: oklch(39.1% 0.190 273.9);
Tailwind
colors: {
  custom: {
    50: '#7a67c3',
    500: '#2e2ca8',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ca8;
$custom-light: #7a67c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ca8",
  "rgb": {
    "r": 46,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 240.968,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.3913,
    "c": 0.19013,
    "h": 273.9
  },
  "luminance": 0.05209
}

Semantic roles & 50–950 ramp

primary
#2E2CA8
secondary
#C1C26E
accent
#E246DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E2CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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