#2E327E#2E327E

#2E327E is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.1% C 0.126 H 275.8°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2E327E
RGBrgb(46, 50, 126)
HSLhsl(237, 47%, 34%)
HSVhsv(237, 63%, 49%)
CMYKcmyk(63.5%, 60.3%, 0%, 50.6%)
CIE-LABlab(24.85, 23.35, -43.74)
CIE-LCHlch(24.85, 49.59, 298.09°)
OKLaboklab(36.15% 0.0128 -0.1257)
OKLCHoklch(36.15% 0.126 275.8)
XYZxyz(6.0320, 4.3679, 20.2598)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E327E #7E7A2E
analogous
#2E5A7E #2E327E #522E7E
triadic
#2E327E #7E2E32 #327E2E
tetradic
#2E327E #7E2E5A #7E7A2E #2E7E52
square
#2E327E #7E2E5A #7E7A2E #2E7E52
split-complementary
#2E327E #7E522E #5A7E2E
monochromatic
#0D0E24 #1E2051 #2E327E #3E44AB #6166C5

Accessibility & contrast

On white

11.21
#2E327E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2E327E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E327E
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E327E#FFFFFF#000000##FFFFFF
##2E327E1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#00387C
Tritanopia (blue-blind)
#004453
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e327e;
/* rgb */ color: rgb(46, 50, 126);
/* oklch */ color: oklch(36.1% 0.126 275.8);
Tailwind
colors: {
  custom: {
    50: '#706aa4',
    500: '#2e327e',
    950: '#000000',
  },
}
SCSS
$custom: #2e327e;
$custom-light: #706aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e327e",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 126
  },
  "hsl": {
    "h": 237,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.3615,
    "c": 0.12638,
    "h": 275.8
  },
  "luminance": 0.04368
}

Semantic roles & 50–950 ramp

primary
#2E327E
secondary
#ACA85C
accent
#D052D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E327E

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

Preview Lab → · Contrast checker → · Palette generator →

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