#2E336E#2E336E

#2E336E is a dark, moderate blue. Relative luminance 0.041; OKLCH L 35.1% C 0.101 H 276.2°. Best body text is #FFFFFF at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#2E336E
RGBrgb(46, 51, 110)
HSLhsl(235, 41%, 31%)
HSVhsv(235, 58%, 43%)
CMYKcmyk(58.2%, 53.6%, 0%, 56.9%)
CIE-LABlab(23.91, 16.84, -35.08)
CIE-LCHlch(23.91, 38.91, 295.64°)
OKLaboklab(35.06% 0.011 -0.1002)
OKLCHoklch(35.06% 0.101 276.2)
XYZxyz(5.1241, 4.0739, 15.2652)
Luminance0.0407 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E336E #6E692E
analogous
#2E536E #2E336E #492E6E
triadic
#2E336E #6E2E33 #336E2E
tetradic
#2E336E #6E2E53 #6E692E #2E6E49
square
#2E336E #6E2E53 #6E692E #2E6E49
split-complementary
#2E336E #6E492E #536E2E
monochromatic
#0A0B18 #1C1F43 #2E336E #404799 #5C63BB

Accessibility & contrast

On white

11.57
#2E336E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E336E
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E336E#FFFFFF#000000##FFFFFF
##2E336E1.0011.571.8111.57
#FFFFFF11.571.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143C70
Deuteranopia (green-blind)
#0A366D
Tritanopia (blue-blind)
#0D404B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e336e;
/* rgb */ color: rgb(46, 51, 110);
/* oklch */ color: oklch(35.1% 0.101 276.2);
Tailwind
colors: {
  custom: {
    50: '#6d6a98',
    500: '#2e336e',
    950: '#000000',
  },
}
SCSS
$custom: #2e336e;
$custom-light: #6d6a98;
$custom-dark: #000000;
JSON
{
  "hex": "#2e336e",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 235.313,
    "s": 41.026,
    "l": 30.588
  },
  "oklch": {
    "l": 0.35063,
    "c": 0.10083,
    "h": 276.2
  },
  "luminance": 0.04074
}

Semantic roles & 50–950 ramp

primary
#2E336E
secondary
#9F9A58
accent
#C757D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2E336E

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

Preview Lab → · Contrast checker → · Palette generator →

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