#2E366F#2E366F

#2E366F is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.8% C 0.098 H 274.4°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2E366F
RGBrgb(46, 54, 111)
HSLhsl(233, 41%, 31%)
HSVhsv(233, 59%, 44%)
CMYKcmyk(58.6%, 51.4%, 0%, 56.5%)
CIE-LABlab(24.85, 15.12, -34.22)
CIE-LCHlch(24.85, 37.42, 293.84°)
OKLaboklab(35.79% 0.0074 -0.0977)
OKLCHoklch(35.79% 0.098 274.4)
XYZxyz(5.3142, 4.3665, 15.5986)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E366F #6F672E
analogous
#2E566F #2E366F #462E6F
triadic
#2E366F #6F2E36 #366F2E
tetradic
#2E366F #6F2E56 #6F672E #2E6F46
square
#2E366F #6F2E56 #6F672E #2E6F46
split-complementary
#2E366F #6F462E #566F2E
monochromatic
#0A0C18 #1C2144 #2E366F #404B9A #5C68BB

Accessibility & contrast

On white

11.21
#2E366F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2E366F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E366F
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E366F#FFFFFF#000000##FFFFFF
##2E366F1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A3E71
Deuteranopia (green-blind)
#11386E
Tritanopia (blue-blind)
#0A434D
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e366f;
/* rgb */ color: rgb(46, 54, 111);
/* oklch */ color: oklch(35.8% 0.098 274.4);
Tailwind
colors: {
  custom: {
    50: '#6d6c99',
    500: '#2e366f',
    950: '#000000',
  },
}
SCSS
$custom: #2e366f;
$custom-light: #6d6c99;
$custom-dark: #000000;
JSON
{
  "hex": "#2e366f",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 232.615,
    "s": 41.401,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3579,
    "c": 0.09796,
    "h": 274.4
  },
  "luminance": 0.04367
}

Semantic roles & 50–950 ramp

primary
#2E366F
secondary
#A09858
accent
#C257D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2E366F

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

Preview Lab → · Contrast checker → · Palette generator →

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