#2E3773#2E3773

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

Color values

HEX#2E3773
RGBrgb(46, 55, 115)
HSLhsl(232, 43%, 32%)
HSVhsv(232, 60%, 45%)
CMYKcmyk(60%, 52.2%, 0%, 54.9%)
CIE-LABlab(25.41, 15.89, -35.87)
CIE-LCHlch(25.41, 39.23, 293.90°)
OKLaboklab(36.31% 0.0067 -0.1025)
OKLCHoklch(36.31% 0.103 273.8)
XYZxyz(5.5864, 4.5506, 16.8003)
Luminance0.0455 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3773 #736A2E
analogous
#2E5A73 #2E3773 #482E73
triadic
#2E3773 #732E37 #37732E
tetradic
#2E3773 #732E5A #736A2E #2E7348
square
#2E3773 #732E5A #736A2E #2E7348
split-complementary
#2E3773 #73482E #5A732E
monochromatic
#0B0D1C #1D2247 #2E3773 #3F4C9F #5D6ABE

Accessibility & contrast

On white

10.99
#2E3773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.91
#2E3773 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3773
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3773#FFFFFF#000000##FFFFFF
##2E37731.0010.991.9110.99
#FFFFFF10.991.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF10.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183F75
Deuteranopia (green-blind)
#0C3972
Tritanopia (blue-blind)
#02454F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e3773;
/* rgb */ color: rgb(46, 55, 115);
/* oklch */ color: oklch(36.3% 0.103 273.8);
Tailwind
colors: {
  custom: {
    50: '#6d6d9c',
    500: '#2e3773',
    950: '#000000',
  },
}
SCSS
$custom: #2e3773;
$custom-light: #6d6d9c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3773",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 115
  },
  "hsl": {
    "h": 232.174,
    "s": 42.857,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36308,
    "c": 0.10272,
    "h": 273.8
  },
  "luminance": 0.04551
}

Semantic roles & 50–950 ramp

primary
#2E3773
secondary
#A49A58
accent
#C255D3
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #2E3773

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

Preview Lab → · Contrast checker → · Palette generator →

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