#2E4286#2E4286

#2E4286 is a dark, moderate blue. Relative luminance 0.062; OKLCH L 40.1% C 0.116 H 268.4°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2E4286
RGBrgb(46, 66, 134)
HSLhsl(226, 49%, 35%)
HSVhsv(226, 66%, 53%)
CMYKcmyk(65.7%, 50.7%, 0%, 47.5%)
CIE-LABlab(29.91, 15.40, -40.58)
CIE-LCHlch(29.91, 43.40, 290.79°)
OKLaboklab(40.14% -0.0032 -0.1162)
OKLCHoklch(40.14% 0.116 268.4)
XYZxyz(7.3765, 6.1978, 23.3572)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4286 #86722E
analogous
#2E6E86 #2E4286 #462E86
triadic
#2E4286 #862E42 #42862E
tetradic
#2E4286 #862E6E #86722E #2E8646
square
#2E4286 #862E6E #86722E #2E8646
split-complementary
#2E4286 #86462E #6E862E
monochromatic
#0F152B #1E2C58 #2E4286 #3E58B4 #647CCA

Accessibility & contrast

On white

9.38
#2E4286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2E4286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4286
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4286#FFFFFF#000000##FFFFFF
##2E42861.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B88
Deuteranopia (green-blind)
#084385
Tritanopia (blue-blind)
#00525D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4286;
/* rgb */ color: rgb(46, 66, 134);
/* oklch */ color: oklch(40.1% 0.116 268.4);
Tailwind
colors: {
  custom: {
    50: '#7076aa',
    500: '#2e4286',
    950: '#000000',
  },
}
SCSS
$custom: #2e4286;
$custom-light: #7076aa;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4286",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 134
  },
  "hsl": {
    "h": 226.364,
    "s": 48.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40136,
    "c": 0.11625,
    "h": 268.4
  },
  "luminance": 0.06199
}

Semantic roles & 50–950 ramp

primary
#2E4286
secondary
#B19E5F
accent
#B94FD8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #2E4286

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

Preview Lab → · Contrast checker → · Palette generator →

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