#2E3779#2E3779

#2E3779 is a dark, moderate blue. Relative luminance 0.047; OKLCH L 36.8% C 0.112 H 273.7°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#2E3779
RGBrgb(46, 55, 121)
HSLhsl(233, 45%, 33%)
HSVhsv(233, 62%, 47%)
CMYKcmyk(62%, 54.5%, 0%, 52.5%)
CIE-LABlab(25.84, 18.10, -38.99)
CIE-LCHlch(25.84, 42.98, 294.90°)
OKLaboklab(36.77% 0.0073 -0.1117)
OKLCHoklch(36.77% 0.112 273.7)
XYZxyz(5.9430, 4.6932, 18.6782)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3779 #79702E
analogous
#2E5C79 #2E3779 #4A2E79
triadic
#2E3779 #792E37 #37792E
tetradic
#2E3779 #792E5C #79702E #2E794A
square
#2E3779 #792E5C #79702E #2E794A
split-complementary
#2E3779 #794A2E #5C792E
monochromatic
#0C0F20 #1D234D #2E3779 #3F4BA5 #5F6BC2

Accessibility & contrast

On white

10.83
#2E3779 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2E3779 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3779
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3779#FFFFFF#000000##FFFFFF
##2E37791.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10417B
Deuteranopia (green-blind)
#003A78
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e3779;
/* rgb */ color: rgb(46, 55, 121);
/* oklch */ color: oklch(36.8% 0.112 273.7);
Tailwind
colors: {
  custom: {
    50: '#6f6da0',
    500: '#2e3779',
    950: '#000000',
  },
}
SCSS
$custom: #2e3779;
$custom-light: #6f6da0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3779",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 121
  },
  "hsl": {
    "h": 232.8,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36768,
    "c": 0.11191,
    "h": 273.7
  },
  "luminance": 0.04694
}

Semantic roles & 50–950 ramp

primary
#2E3779
secondary
#A99F5A
accent
#C553D5
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #2E3779

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

Preview Lab → · Contrast checker → · Palette generator →

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