#2E369D#2E369D

#2E369D is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.7% C 0.165 H 272.8°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#2E369D
RGBrgb(46, 54, 157)
HSLhsl(236, 55%, 40%)
HSVhsv(236, 71%, 62%)
CMYKcmyk(70.7%, 65.6%, 0%, 38.4%)
CIE-LABlab(28.52, 31.96, -56.95)
CIE-LCHlch(28.52, 65.31, 299.30°)
OKLaboklab(39.67% 0.008 -0.1645)
OKLCHoklch(39.67% 0.165 272.8)
XYZxyz(8.5296, 5.6527, 32.5333)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E369D #9D952E
analogous
#2E6D9D #2E369D #5E2E9D
triadic
#2E369D #9D2E36 #369D2E
tetradic
#2E369D #9D2E6D #9D952E #2E9D5E
square
#2E369D #9D2E6D #9D952E #2E9D5E
split-complementary
#2E369D #9D5E2E #6D9D2E
monochromatic
#12153E #20266E #2E369D #414BC7 #7078D5

Accessibility & contrast

On white

9.86
#2E369D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2E369D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E369D
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E369D#FFFFFF#000000##FFFFFF
##2E369D1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A0
Deuteranopia (green-blind)
#003E9B
Tritanopia (blue-blind)
#005164
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e369d;
/* rgb */ color: rgb(46, 54, 157);
/* oklch */ color: oklch(39.7% 0.165 272.8);
Tailwind
colors: {
  custom: {
    50: '#766dbb',
    500: '#2e369d',
    950: '#000000',
  },
}
SCSS
$custom: #2e369d;
$custom-light: #766dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e369d",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 157
  },
  "hsl": {
    "h": 235.676,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39672,
    "c": 0.16467,
    "h": 272.8
  },
  "luminance": 0.05653
}

Semantic roles & 50–950 ramp

primary
#2E369D
secondary
#BDB76A
accent
#D34ADE
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2E369D

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

Preview Lab → · Contrast checker → · Palette generator →

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