#2E2F83#2E2F83

#2E2F83 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.138 H 276.5°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#2E2F83
RGBrgb(46, 47, 131)
HSLhsl(239, 48%, 35%)
HSVhsv(239, 65%, 51%)
CMYKcmyk(64.9%, 64.1%, 0%, 48.6%)
CIE-LABlab(24.49, 27.17, -47.48)
CIE-LCHlch(24.49, 54.71, 299.78°)
OKLaboklab(36.01% 0.0155 -0.1367)
OKLCHoklch(36.01% 0.138 276.5)
XYZxyz(6.2386, 4.2521, 21.9603)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2F83 #83822E
analogous
#2E5A83 #2E2F83 #582E83
triadic
#2E2F83 #832E2F #2F832E
tetradic
#2E2F83 #832E5A #83822E #2E8358
square
#2E2F83 #832E5A #83822E #2E8358
split-complementary
#2E2F83 #83582E #5A832E
monochromatic
#0E0E28 #1E1F56 #2E2F83 #3E3FB0 #6364C8

Accessibility & contrast

On white

11.35
#2E2F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2E2F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2F83
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2F83#FFFFFF#000000##FFFFFF
##2E2F831.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E86
Deuteranopia (green-blind)
#003681
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e2f83;
/* rgb */ color: rgb(46, 47, 131);
/* oklch */ color: oklch(36.0% 0.138 276.5);
Tailwind
colors: {
  custom: {
    50: '#7167a8',
    500: '#2e2f83',
    950: '#000000',
  },
}
SCSS
$custom: #2e2f83;
$custom-light: #7167a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2f83",
  "rgb": {
    "r": 46,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 239.294,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36011,
    "c": 0.13761,
    "h": 276.5
  },
  "luminance": 0.04253
}

Semantic roles & 50–950 ramp

primary
#2E2F83
secondary
#AFAE5E
accent
#D650D8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2E2F83

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

Preview Lab → · Contrast checker → · Palette generator →

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