#2E4284#2E4284

#2E4284 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 40.0% C 0.113 H 268.3°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#2E4284
RGBrgb(46, 66, 132)
HSLhsl(226, 48%, 35%)
HSVhsv(226, 65%, 52%)
CMYKcmyk(65.2%, 50%, 0%, 48.2%)
CIE-LABlab(29.77, 14.65, -39.56)
CIE-LCHlch(29.77, 42.18, 290.33°)
OKLaboklab(39.99% -0.0034 -0.1132)
OKLCHoklch(39.99% 0.113 268.3)
XYZxyz(7.2384, 6.1426, 22.6295)
Luminance0.0614 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4284 #84702E
analogous
#2E6D84 #2E4284 #452E84
triadic
#2E4284 #842E42 #42842E
tetradic
#2E4284 #842E6D #84702E #2E8445
square
#2E4284 #842E6D #84702E #2E8445
split-complementary
#2E4284 #84452E #6D842E
monochromatic
#0E1529 #1E2B57 #2E4284 #3E59B1 #647BC9

Accessibility & contrast

On white

9.42
#2E4284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2E4284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4284
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4284#FFFFFF#000000##FFFFFF
##2E42841.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204A86
Deuteranopia (green-blind)
#0E4283
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4284;
/* rgb */ color: rgb(46, 66, 132);
/* oklch */ color: oklch(40.0% 0.113 268.3);
Tailwind
colors: {
  custom: {
    50: '#7076a8',
    500: '#2e4284',
    950: '#000000',
  },
}
SCSS
$custom: #2e4284;
$custom-light: #7076a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4284",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 132
  },
  "hsl": {
    "h": 226.047,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.39988,
    "c": 0.11325,
    "h": 268.3
  },
  "luminance": 0.06143
}

Semantic roles & 50–950 ramp

primary
#2E4284
secondary
#B09D5E
accent
#B850D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E4284

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

Preview Lab → · Contrast checker → · Palette generator →

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