#2E336A#2E336A

#2E336A is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.8% C 0.095 H 276.4°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#2E336A
RGBrgb(46, 51, 106)
HSLhsl(235, 39%, 30%)
HSVhsv(235, 57%, 42%)
CMYKcmyk(56.6%, 51.9%, 0%, 58.4%)
CIE-LABlab(23.63, 15.39, -32.96)
CIE-LCHlch(23.63, 36.37, 295.04°)
OKLaboklab(34.76% 0.0105 -0.094)
OKLCHoklch(34.76% 0.095 276.4)
XYZxyz(4.9112, 3.9888, 14.1440)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E336A #6A652E
analogous
#2E516A #2E336A #472E6A
triadic
#2E336A #6A2E33 #336A2E
tetradic
#2E336A #6A2E51 #6A652E #2E6A47
square
#2E336A #6A2E51 #6A652E #2E6A47
split-complementary
#2E336A #6A472E #516A2E
monochromatic
#090A15 #1B1E3F #2E336A #414895 #5B62B8

Accessibility & contrast

On white

11.68
#2E336A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2E336A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E336A
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E336A#FFFFFF#000000##FFFFFF
##2E336A1.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193B6C
Deuteranopia (green-blind)
#113669
Tritanopia (blue-blind)
#123F49
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2e336a;
/* rgb */ color: rgb(46, 51, 106);
/* oklch */ color: oklch(34.8% 0.095 276.4);
Tailwind
colors: {
  custom: {
    50: '#6c6a95',
    500: '#2e336a',
    950: '#000000',
  },
}
SCSS
$custom: #2e336a;
$custom-light: #6c6a95;
$custom-dark: #000000;
JSON
{
  "hex": "#2e336a",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 235,
    "s": 39.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34762,
    "c": 0.09457,
    "h": 276.4
  },
  "luminance": 0.03989
}

Semantic roles & 50–950 ramp

primary
#2E336A
secondary
#9C9658
accent
#C558CF
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #2E336A

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

Preview Lab → · Contrast checker → · Palette generator →

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