#2E336D#2E336D

#2E336D is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.0% C 0.099 H 276.3°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#2E336D
RGBrgb(46, 51, 109)
HSLhsl(235, 41%, 30%)
HSVhsv(235, 58%, 43%)
CMYKcmyk(57.8%, 53.2%, 0%, 57.3%)
CIE-LABlab(23.84, 16.48, -34.55)
CIE-LCHlch(23.84, 38.28, 295.50°)
OKLaboklab(34.99% 0.0109 -0.0987)
OKLCHoklch(34.99% 0.099 276.3)
XYZxyz(5.0700, 4.0523, 14.9800)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E336D #6D682E
analogous
#2E526D #2E336D #482E6D
triadic
#2E336D #6D2E33 #336D2E
tetradic
#2E336D #6D2E52 #6D682E #2E6D48
square
#2E336D #6D2E52 #6D682E #2E6D48
split-complementary
#2E336D #6D482E #526D2E
monochromatic
#0A0B17 #1C1F42 #2E336D #404798 #5B63BA

Accessibility & contrast

On white

11.60
#2E336D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#2E336D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E336D
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E336D#FFFFFF#000000##FFFFFF
##2E336D1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153B6F
Deuteranopia (green-blind)
#0C366C
Tritanopia (blue-blind)
#0E404B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e336d;
/* rgb */ color: rgb(46, 51, 109);
/* oklch */ color: oklch(35.0% 0.099 276.3);
Tailwind
colors: {
  custom: {
    50: '#6d6a97',
    500: '#2e336d',
    950: '#000000',
  },
}
SCSS
$custom: #2e336d;
$custom-light: #6d6a97;
$custom-dark: #000000;
JSON
{
  "hex": "#2e336d",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 109
  },
  "hsl": {
    "h": 235.238,
    "s": 40.645,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34987,
    "c": 0.09928,
    "h": 276.3
  },
  "luminance": 0.04053
}

Semantic roles & 50–950 ramp

primary
#2E336D
secondary
#9F9958
accent
#C757D0
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2E336D

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

Preview Lab → · Contrast checker → · Palette generator →

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