#2E358A#2E358A

#2E358A is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.8% C 0.140 H 274.0°. Best body text is #FFFFFF at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#2E358A
RGBrgb(46, 53, 138)
HSLhsl(235, 50%, 36%)
HSVhsv(235, 67%, 54%)
CMYKcmyk(66.7%, 61.6%, 0%, 45.9%)
CIE-LABlab(26.62, 25.71, -48.37)
CIE-LCHlch(26.62, 54.78, 298.00°)
OKLaboklab(37.77% 0.0098 -0.1393)
OKLCHoklch(37.77% 0.14 274)
XYZxyz(6.9857, 4.9614, 24.6293)
Luminance0.0496 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E358A #8A832E
analogous
#2E638A #2E358A #552E8A
triadic
#2E358A #8A2E35 #358A2E
tetradic
#2E358A #8A2E63 #8A832E #2E8A55
square
#2E358A #8A2E63 #8A832E #2E8A55
split-complementary
#2E358A #8A552E #638A2E
monochromatic
#0F122E #1F235C #2E358A #3D47B8 #666ECC

Accessibility & contrast

On white

10.54
#2E358A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2E358A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E358A
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E358A#FFFFFF#000000##FFFFFF
##2E358A1.0010.541.9910.54
#FFFFFF10.541.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438D
Deuteranopia (green-blind)
#003B88
Tritanopia (blue-blind)
#004A5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e358a;
/* rgb */ color: rgb(46, 53, 138);
/* oklch */ color: oklch(37.8% 0.140 274.0);
Tailwind
colors: {
  custom: {
    50: '#726cad',
    500: '#2e358a',
    950: '#000000',
  },
}
SCSS
$custom: #2e358a;
$custom-light: #726cad;
$custom-dark: #000000;
JSON
{
  "hex": "#2e358a",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 138
  },
  "hsl": {
    "h": 235.435,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3777,
    "c": 0.13963,
    "h": 274
  },
  "luminance": 0.04962
}

Semantic roles & 50–950 ramp

primary
#2E358A
secondary
#B3AD61
accent
#CF4EDA
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090710
muted
#7B7A7F

Preview Lab

Preview with #2E358A

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

Preview Lab → · Contrast checker → · Palette generator →

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