#2E327F#2E327F

#2E327F is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.2% C 0.128 H 275.7°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#2E327F
RGBrgb(46, 50, 127)
HSLhsl(237, 47%, 34%)
HSVhsv(237, 64%, 50%)
CMYKcmyk(63.8%, 60.6%, 0%, 50.2%)
CIE-LABlab(24.93, 23.72, -44.24)
CIE-LCHlch(24.93, 50.20, 298.19°)
OKLaboklab(36.24% 0.0127 -0.1272)
OKLCHoklch(36.24% 0.128 275.7)
XYZxyz(6.0968, 4.3939, 20.6014)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E327F #7F7B2E
analogous
#2E5B7F #2E327F #532E7F
triadic
#2E327F #7F2E32 #327F2E
tetradic
#2E327F #7F2E5B #7F7B2E #2E7F53
square
#2E327F #7F2E5B #7F7B2E #2E7F53
split-complementary
#2E327F #7F532E #5B7F2E
monochromatic
#0D0F25 #1E2052 #2E327F #3E44AC #6166C6

Accessibility & contrast

On white

11.18
#2E327F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#2E327F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E327F
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E327F#FFFFFF#000000##FFFFFF
##2E327F1.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#00387D
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e327f;
/* rgb */ color: rgb(46, 50, 127);
/* oklch */ color: oklch(36.2% 0.128 275.7);
Tailwind
colors: {
  custom: {
    50: '#706aa5',
    500: '#2e327f',
    950: '#000000',
  },
}
SCSS
$custom: #2e327f;
$custom-light: #706aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e327f",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 127
  },
  "hsl": {
    "h": 237.037,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.36235,
    "c": 0.12784,
    "h": 275.7
  },
  "luminance": 0.04394
}

Semantic roles & 50–950 ramp

primary
#2E327F
secondary
#ADA95C
accent
#D051D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E327F

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

Preview Lab → · Contrast checker → · Palette generator →

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