#2E327A#2E327A

#2E327A is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.120 H 276.1°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#2E327A
RGBrgb(46, 50, 122)
HSLhsl(237, 45%, 33%)
HSVhsv(237, 62%, 48%)
CMYKcmyk(62.3%, 59%, 0%, 52.2%)
CIE-LABlab(24.53, 21.89, -41.73)
CIE-LCHlch(24.53, 47.13, 297.68°)
OKLaboklab(35.81% 0.0127 -0.1198)
OKLCHoklch(35.81% 0.12 276.1)
XYZxyz(5.7790, 4.2667, 18.9276)
Luminance0.0427 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E327A #7A762E
analogous
#2E587A #2E327A #502E7A
triadic
#2E327A #7A2E32 #327A2E
tetradic
#2E327A #7A2E58 #7A762E #2E7A50
square
#2E327A #7A2E58 #7A762E #2E7A50
split-complementary
#2E327A #7A502E #587A2E
monochromatic
#0C0E21 #1D204E #2E327A #3F44A6 #6065C3

Accessibility & contrast

On white

11.33
#2E327A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E327A
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E327A#FFFFFF#000000##FFFFFF
##2E327A1.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#003779
Tritanopia (blue-blind)
#004351
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2e327a;
/* rgb */ color: rgb(46, 50, 122);
/* oklch */ color: oklch(35.8% 0.120 276.1);
Tailwind
colors: {
  custom: {
    50: '#6f69a1',
    500: '#2e327a',
    950: '#000000',
  },
}
SCSS
$custom: #2e327a;
$custom-light: #6f69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e327a",
  "rgb": {
    "r": 46,
    "g": 50,
    "b": 122
  },
  "hsl": {
    "h": 236.842,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35813,
    "c": 0.12048,
    "h": 276.1
  },
  "luminance": 0.04267
}

Semantic roles & 50–950 ramp

primary
#2E327A
secondary
#AAA55A
accent
#CE53D5
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E327A

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

Preview Lab → · Contrast checker → · Palette generator →

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