#2E3367#2E3367

#2E3367 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.5% C 0.090 H 276.5°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#2E3367
RGBrgb(46, 51, 103)
HSLhsl(235, 38%, 29%)
HSVhsv(235, 55%, 40%)
CMYKcmyk(55.3%, 50.5%, 0%, 59.6%)
CIE-LABlab(23.43, 14.32, -31.34)
CIE-LCHlch(23.43, 34.46, 294.55°)
OKLaboklab(34.54% 0.0102 -0.0892)
OKLCHoklch(34.54% 0.09 276.5)
XYZxyz(4.7579, 3.9275, 13.3367)
Luminance0.0393 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3367 #67622E
analogous
#2E5067 #2E3367 #462E67
triadic
#2E3367 #672E33 #33672E
tetradic
#2E3367 #672E50 #67622E #2E6746
square
#2E3367 #672E50 #67622E #2E6746
split-complementary
#2E3367 #67462E #50672E
monochromatic
#090A15 #1B1E3D #2E3367 #414891 #5A62B5

Accessibility & contrast

On white

11.76
#2E3367 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2E3367 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3367
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3367#FFFFFF#000000##FFFFFF
##2E33671.0011.761.7911.76
#FFFFFF11.761.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3A69
Deuteranopia (green-blind)
#153666
Tritanopia (blue-blind)
#153E48
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e3367;
/* rgb */ color: rgb(46, 51, 103);
/* oklch */ color: oklch(34.5% 0.090 276.5);
Tailwind
colors: {
  custom: {
    50: '#6b6a93',
    500: '#2e3367',
    950: '#000000',
  },
}
SCSS
$custom: #2e3367;
$custom-light: #6b6a93;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3367",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 103
  },
  "hsl": {
    "h": 234.737,
    "s": 38.255,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34541,
    "c": 0.08982,
    "h": 276.5
  },
  "luminance": 0.03928
}

Semantic roles & 50–950 ramp

primary
#2E3367
secondary
#999358
accent
#C45ACE
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2E3367

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

Preview Lab → · Contrast checker → · Palette generator →

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