#2E358F#2E358F

#2E358F is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.2% C 0.147 H 273.8°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2E358F
RGBrgb(46, 53, 143)
HSLhsl(236, 51%, 37%)
HSVhsv(236, 68%, 56%)
CMYKcmyk(67.8%, 62.9%, 0%, 43.9%)
CIE-LABlab(27.04, 27.54, -50.78)
CIE-LCHlch(27.04, 57.77, 298.47°)
OKLaboklab(38.21% 0.0096 -0.1464)
OKLCHoklch(38.21% 0.147 273.8)
XYZxyz(7.3561, 5.1096, 26.5799)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E358F #8F882E
analogous
#2E668F #2E358F #582E8F
triadic
#2E358F #8F2E35 #358F2E
tetradic
#2E358F #8F2E66 #8F882E #2E8F58
square
#2E358F #8F2E66 #8F882E #2E8F58
split-complementary
#2E358F #8F582E #668F2E
monochromatic
#101332 #1F2461 #2E358F #3D46BD #6970CF

Accessibility & contrast

On white

10.39
#2E358F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2E358F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E358F
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E358F#FFFFFF#000000##FFFFFF
##2E358F1.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#004C5C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e358f;
/* rgb */ color: rgb(46, 53, 143);
/* oklch */ color: oklch(38.2% 0.147 273.8);
Tailwind
colors: {
  custom: {
    50: '#736cb1',
    500: '#2e358f',
    950: '#000000',
  },
}
SCSS
$custom: #2e358f;
$custom-light: #736cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e358f",
  "rgb": {
    "r": 46,
    "g": 53,
    "b": 143
  },
  "hsl": {
    "h": 235.67,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38211,
    "c": 0.1467,
    "h": 273.8
  },
  "luminance": 0.0511
}

Semantic roles & 50–950 ramp

primary
#2E358F
secondary
#B6B063
accent
#D14DDB
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #2E358F

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

Preview Lab → · Contrast checker → · Palette generator →

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