#2E366E#2E366E

#2E366E is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.7% C 0.096 H 274.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#2E366E
RGBrgb(46, 54, 110)
HSLhsl(233, 41%, 31%)
HSVhsv(233, 58%, 43%)
CMYKcmyk(58.2%, 50.9%, 0%, 56.9%)
CIE-LABlab(24.78, 14.76, -33.69)
CIE-LCHlch(24.78, 36.78, 293.66°)
OKLaboklab(35.72% 0.0073 -0.0961)
OKLCHoklch(35.72% 0.096 274.4)
XYZxyz(5.2594, 4.3446, 15.3103)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E366E #6E662E
analogous
#2E566E #2E366E #462E6E
triadic
#2E366E #6E2E36 #366E2E
tetradic
#2E366E #6E2E56 #6E662E #2E6E46
square
#2E366E #6E2E56 #6E662E #2E6E46
split-complementary
#2E366E #6E462E #566E2E
monochromatic
#0A0C18 #1C2143 #2E366E #404B99 #5C68BB

Accessibility & contrast

On white

11.24
#2E366E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E366E
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E366E#FFFFFF#000000##FFFFFF
##2E366E1.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3E70
Deuteranopia (green-blind)
#12386D
Tritanopia (blue-blind)
#0C424C
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e366e;
/* rgb */ color: rgb(46, 54, 110);
/* oklch */ color: oklch(35.7% 0.096 274.4);
Tailwind
colors: {
  custom: {
    50: '#6d6c98',
    500: '#2e366e',
    950: '#000000',
  },
}
SCSS
$custom: #2e366e;
$custom-light: #6d6c98;
$custom-dark: #000000;
JSON
{
  "hex": "#2e366e",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 110
  },
  "hsl": {
    "h": 232.5,
    "s": 41.026,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35716,
    "c": 0.0964,
    "h": 274.4
  },
  "luminance": 0.04345
}

Semantic roles & 50–950 ramp

primary
#2E366E
secondary
#9F9758
accent
#C257D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070D
muted
#7A7A7E

Preview Lab

Preview with #2E366E

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

Preview Lab → · Contrast checker → · Palette generator →

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