#2E3363#2E3363

#2E3363 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.083 H 276.6°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#2E3363
RGBrgb(46, 51, 99)
HSLhsl(234, 37%, 28%)
HSVhsv(234, 54%, 39%)
CMYKcmyk(53.5%, 48.5%, 0%, 61.2%)
CIE-LABlab(23.17, 12.89, -29.17)
CIE-LCHlch(23.17, 31.89, 293.84°)
OKLaboklab(34.26% 0.0096 -0.0828)
OKLCHoklch(34.26% 0.083 276.6)
XYZxyz(4.5620, 3.8491, 12.3045)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3363 #635E2E
analogous
#2E4D63 #2E3363 #432E63
triadic
#2E3363 #632E33 #33632E
tetradic
#2E3363 #632E4D #635E2E #2E6343
square
#2E3363 #632E4D #635E2E #2E6343
split-complementary
#2E3363 #63432E #4D632E
monochromatic
#0A0B15 #1B1D39 #2E3363 #41498D #5962B2

Accessibility & contrast

On white

11.87
#2E3363 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#2E3363 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3363
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3363#FFFFFF#000000##FFFFFF
##2E33631.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F3965
Deuteranopia (green-blind)
#1A3562
Tritanopia (blue-blind)
#193D46
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2e3363;
/* rgb */ color: rgb(46, 51, 99);
/* oklch */ color: oklch(34.3% 0.083 276.6);
Tailwind
colors: {
  custom: {
    50: '#6b6a90',
    500: '#2e3363',
    950: '#000000',
  },
}
SCSS
$custom: #2e3363;
$custom-light: #6b6a90;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3363",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 99
  },
  "hsl": {
    "h": 234.34,
    "s": 36.552,
    "l": 28.431
  },
  "oklch": {
    "l": 0.34256,
    "c": 0.0834,
    "h": 276.6
  },
  "luminance": 0.03849
}

Semantic roles & 50–950 ramp

primary
#2E3363
secondary
#958F58
accent
#C25BCD
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #2E3363

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

Preview Lab → · Contrast checker → · Palette generator →

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