#2E4682#2E4682

#2E4682 is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.105 H 265.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#2E4682
RGBrgb(46, 70, 130)
HSLhsl(223, 48%, 35%)
HSVhsv(223, 65%, 51%)
CMYKcmyk(64.6%, 46.2%, 0%, 49%)
CIE-LABlab(30.81, 11.19, -36.64)
CIE-LCHlch(30.81, 38.31, 286.98°)
OKLaboklab(40.74% -0.0081 -0.1046)
OKLCHoklch(40.74% 0.105 265.6)
XYZxyz(7.3447, 6.5722, 21.9963)
Luminance0.0657 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4682 #826A2E
analogous
#2E7082 #2E4682 #402E82
triadic
#2E4682 #822E46 #46822E
tetradic
#2E4682 #822E70 #826A2E #2E8240
square
#2E4682 #822E70 #826A2E #2E8240
split-complementary
#2E4682 #82402E #70822E
monochromatic
#0E1528 #1E2E55 #2E4682 #3E5EAF #6380C8

Accessibility & contrast

On white

9.07
#2E4682 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2E4682 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4682
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4682#FFFFFF#000000##FFFFFF
##2E46821.009.072.319.07
#FFFFFF9.071.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4D84
Deuteranopia (green-blind)
#1C4581
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e4682;
/* rgb */ color: rgb(46, 70, 130);
/* oklch */ color: oklch(40.7% 0.105 265.6);
Tailwind
colors: {
  custom: {
    50: '#6f79a7',
    500: '#2e4682',
    950: '#000000',
  },
}
SCSS
$custom: #2e4682;
$custom-light: #6f79a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4682",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 130
  },
  "hsl": {
    "h": 222.857,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.40743,
    "c": 0.10489,
    "h": 265.6
  },
  "luminance": 0.06573
}

Semantic roles & 50–950 ramp

primary
#2E4682
secondary
#AE975D
accent
#B150D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2E4682

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

Preview Lab → · Contrast checker → · Palette generator →

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