#2E337A#2E337A

#2E337A is a dark, moderate blue. Relative luminance 0.044; OKLCH L 36.0% C 0.119 H 275.6°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#2E337A
RGBrgb(46, 51, 122)
HSLhsl(236, 45%, 33%)
HSVhsv(236, 62%, 48%)
CMYKcmyk(62.3%, 58.2%, 0%, 52.2%)
CIE-LABlab(24.81, 21.21, -41.29)
CIE-LCHlch(24.81, 46.42, 297.19°)
OKLaboklab(36.02% 0.0117 -0.1185)
OKLCHoklch(36.02% 0.119 275.6)
XYZxyz(5.8223, 4.3532, 18.9420)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E337A #7A752E
analogous
#2E597A #2E337A #4F2E7A
triadic
#2E337A #7A2E33 #337A2E
tetradic
#2E337A #7A2E59 #7A752E #2E7A4F
square
#2E337A #7A2E59 #7A752E #2E7A4F
split-complementary
#2E337A #7A4F2E #597A2E
monochromatic
#0C0E21 #1D204E #2E337A #3F46A6 #6066C3

Accessibility & contrast

On white

11.23
#2E337A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E337A
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E337A#FFFFFF#000000##FFFFFF
##2E337A1.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7C
Deuteranopia (green-blind)
#003879
Tritanopia (blue-blind)
#004451
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e337a;
/* rgb */ color: rgb(46, 51, 122);
/* oklch */ color: oklch(36.0% 0.119 275.6);
Tailwind
colors: {
  custom: {
    50: '#6f6aa1',
    500: '#2e337a',
    950: '#000000',
  },
}
SCSS
$custom: #2e337a;
$custom-light: #6f6aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e337a",
  "rgb": {
    "r": 46,
    "g": 51,
    "b": 122
  },
  "hsl": {
    "h": 236.053,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36016,
    "c": 0.11908,
    "h": 275.6
  },
  "luminance": 0.04354
}

Semantic roles & 50–950 ramp

primary
#2E337A
secondary
#AAA45A
accent
#CC53D5
background
#F7F6FA
surface
#EDEBF3
border
#C8C6CD
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2E337A

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

Preview Lab → · Contrast checker → · Palette generator →

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