#2E336F#2E336F

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

Color values

HEX#2E336F
RGBrgb(46, 51, 111)
HSLhsl(235, 41%, 31%)
HSVhsv(235, 59%, 44%)
CMYKcmyk(58.6%, 54.1%, 0%, 56.5%)
CIE-LABlab(23.99, 17.20, -35.61)
CIE-LCHlch(23.99, 39.55, 295.79°)
OKLaboklab(35.14% 0.011 -0.1018)
OKLCHoklch(35.14% 0.102 276.2)
XYZxyz(5.1789, 4.0958, 15.5535)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E336F #6F6A2E
analogous
#2E536F #2E336F #492E6F
triadic
#2E336F #6F2E33 #336F2E
tetradic
#2E336F #6F2E53 #6F6A2E #2E6F49
square
#2E336F #6F2E53 #6F6A2E #2E6F49
split-complementary
#2E336F #6F492E #536F2E
monochromatic
#0A0B18 #1C1F44 #2E336F #40479A #5C63BB

Accessibility & contrast

On white

11.54
#2E336F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2E336F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E336F
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E336F#FFFFFF#000000##FFFFFF
##2E336F1.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133C71
Deuteranopia (green-blind)
#08366E
Tritanopia (blue-blind)
#0B414C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2e336f;
/* rgb */ color: rgb(46, 51, 111);
/* oklch */ color: oklch(35.1% 0.102 276.2);
Tailwind
colors: {
  custom: {
    50: '#6d6a99',
    500: '#2e336f',
    950: '#000000',
  },
}
SCSS
$custom: #2e336f;
$custom-light: #6d6a99;
$custom-dark: #000000;
JSON
{
  "hex": "#2e336f",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 235.385,
    "s": 41.401,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3514,
    "c": 0.10238,
    "h": 276.2
  },
  "luminance": 0.04096
}

Semantic roles & 50–950 ramp

primary
#2E336F
secondary
#A09B58
accent
#C857D1
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #2E336F

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

Preview Lab → · Contrast checker → · Palette generator →

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