#2E3679#2E3679

#2E3679 is a dark, moderate blue. Relative luminance 0.046; OKLCH L 36.6% C 0.113 H 274.2°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#2E3679
RGBrgb(46, 54, 121)
HSLhsl(234, 45%, 33%)
HSVhsv(234, 62%, 47%)
CMYKcmyk(62%, 55.4%, 0%, 52.5%)
CIE-LABlab(25.56, 18.79, -39.44)
CIE-LCHlch(25.56, 43.69, 295.47°)
OKLaboklab(36.56% 0.0084 -0.113)
OKLCHoklch(36.56% 0.113 274.2)
XYZxyz(5.8959, 4.5992, 18.6625)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3679 #79712E
analogous
#2E5B79 #2E3679 #4B2E79
triadic
#2E3679 #792E36 #36792E
tetradic
#2E3679 #792E5B #79712E #2E794B
square
#2E3679 #792E5B #79712E #2E794B
split-complementary
#2E3679 #794B2E #5B792E
monochromatic
#0C0E20 #1D224D #2E3679 #3F4AA5 #5F6AC2

Accessibility & contrast

On white

10.94
#2E3679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3679
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3679#FFFFFF#000000##FFFFFF
##2E36791.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C407B
Deuteranopia (green-blind)
#003978
Tritanopia (blue-blind)
#004652
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2e3679;
/* rgb */ color: rgb(46, 54, 121);
/* oklch */ color: oklch(36.6% 0.113 274.2);
Tailwind
colors: {
  custom: {
    50: '#6f6ca0',
    500: '#2e3679',
    950: '#000000',
  },
}
SCSS
$custom: #2e3679;
$custom-light: #6f6ca0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3679",
  "rgb": {
    "r": 46,
    "g": 54,
    "b": 121
  },
  "hsl": {
    "h": 233.6,
    "s": 44.91,
    "l": 32.745
  },
  "oklch": {
    "l": 0.36556,
    "c": 0.11333,
    "h": 274.2
  },
  "luminance": 0.046
}

Semantic roles & 50–950 ramp

primary
#2E3679
secondary
#A9A05A
accent
#C753D5
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#08070F
muted
#7B7A7E

Preview Lab

Preview with #2E3679

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

Preview Lab → · Contrast checker → · Palette generator →

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