#2E2BA8#2E2BA8

#2E2BA8 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 39.0% C 0.191 H 274.0°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#2E2BA8
RGBrgb(46, 43, 168)
HSLhsl(241, 59%, 41%)
HSVhsv(241, 74%, 66%)
CMYKcmyk(72.6%, 74.4%, 0%, 34.1%)
CIE-LABlab(27.12, 42.53, -65.92)
CIE-LCHlch(27.12, 78.45, 302.83°)
OKLaboklab(38.98% 0.0134 -0.1907)
OKLCHoklch(38.98% 0.191 274)
XYZxyz(9.0561, 5.1349, 37.5521)
Luminance0.0514 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2BA8 #A5A82B
analogous
#2B67A8 #2E2BA8 #6D2BA8
triadic
#2E2BA8 #A82E2B #2BA82E
tetradic
#2E2BA8 #A82B67 #A5A82B #2BA86D
square
#2E2BA8 #A82B67 #A5A82B #2BA86D
split-complementary
#2E2BA8 #A86D2B #67A82B
monochromatic
#131247 #211F77 #2E2BA8 #4542CF #7572DB

Accessibility & contrast

On white

10.36
#2E2BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#2E2BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2BA8
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2BA8#FFFFFF#000000##FFFFFF
##2E2BA81.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e2ba8;
/* rgb */ color: rgb(46, 43, 168);
/* oklch */ color: oklch(39.0% 0.191 274.0);
Tailwind
colors: {
  custom: {
    50: '#7a66c3',
    500: '#2e2ba8',
    950: '#000000',
  },
}
SCSS
$custom: #2e2ba8;
$custom-light: #7a66c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2ba8",
  "rgb": {
    "r": 46,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 241.44,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38984,
    "c": 0.19113,
    "h": 274
  },
  "luminance": 0.05136
}

Semantic roles & 50–950 ramp

primary
#2E2BA8
secondary
#C0C26C
accent
#E245DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E2BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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