#2E3776#2E3776

#2E3776 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.5% C 0.107 H 273.8°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#2E3776
RGBrgb(46, 55, 118)
HSLhsl(233, 44%, 32%)
HSVhsv(233, 61%, 46%)
CMYKcmyk(61%, 53.4%, 0%, 53.7%)
CIE-LABlab(25.63, 16.99, -37.43)
CIE-LCHlch(25.63, 41.11, 294.42°)
OKLaboklab(36.54% 0.007 -0.1071)
OKLCHoklch(36.54% 0.107 273.8)
XYZxyz(5.7618, 4.6208, 17.7243)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3776 #766D2E
analogous
#2E5B76 #2E3776 #492E76
triadic
#2E3776 #762E37 #37762E
tetradic
#2E3776 #762E5B #766D2E #2E7649
square
#2E3776 #762E5B #766D2E #2E7649
split-complementary
#2E3776 #76492E #5B762E
monochromatic
#0C0E1E #1D224A #2E3776 #3F4CA2 #5E6AC0

Accessibility & contrast

On white

10.91
#2E3776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2E3776 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3776
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3776#FFFFFF#000000##FFFFFF
##2E37761.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154078
Deuteranopia (green-blind)
#053A75
Tritanopia (blue-blind)
#004551
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e3776;
/* rgb */ color: rgb(46, 55, 118);
/* oklch */ color: oklch(36.5% 0.107 273.8);
Tailwind
colors: {
  custom: {
    50: '#6e6d9e',
    500: '#2e3776',
    950: '#000000',
  },
}
SCSS
$custom: #2e3776;
$custom-light: #6e6d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3776",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 118
  },
  "hsl": {
    "h": 232.5,
    "s": 43.902,
    "l": 32.157
  },
  "oklch": {
    "l": 0.36535,
    "c": 0.10734,
    "h": 273.8
  },
  "luminance": 0.04621
}

Semantic roles & 50–950 ramp

primary
#2E3776
secondary
#A79D59
accent
#C454D4
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08070E
muted
#7B7A7E

Preview Lab

Preview with #2E3776

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

Preview Lab → · Contrast checker → · Palette generator →

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