#2E4083#2E4083

#2E4083 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.5% C 0.114 H 269.3°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#2E4083
RGBrgb(46, 64, 131)
HSLhsl(227, 48%, 35%)
HSVhsv(227, 65%, 51%)
CMYKcmyk(64.9%, 51.1%, 0%, 48.6%)
CIE-LABlab(29.12, 15.64, -39.97)
CIE-LCHlch(29.12, 42.93, 291.37°)
OKLaboklab(39.47% -0.0014 -0.1145)
OKLCHoklch(39.47% 0.114 269.3)
XYZxyz(7.0555, 5.8857, 22.2326)
Luminance0.0589 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4083 #83712E
analogous
#2E6B83 #2E4083 #462E83
triadic
#2E4083 #832E40 #40832E
tetradic
#2E4083 #832E6B #83712E #2E8346
square
#2E4083 #832E6B #83712E #2E8346
split-complementary
#2E4083 #83462E #6B832E
monochromatic
#0E1428 #1E2A56 #2E4083 #3E56B0 #6379C8

Accessibility & contrast

On white

9.65
#2E4083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2E4083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4083
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4083#FFFFFF#000000##FFFFFF
##2E40831.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C4985
Deuteranopia (green-blind)
#084182
Tritanopia (blue-blind)
#004F5B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e4083;
/* rgb */ color: rgb(46, 64, 131);
/* oklch */ color: oklch(39.5% 0.114 269.3);
Tailwind
colors: {
  custom: {
    50: '#7074a7',
    500: '#2e4083',
    950: '#000000',
  },
}
SCSS
$custom: #2e4083;
$custom-light: #7074a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4083",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 131
  },
  "hsl": {
    "h": 227.294,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.39474,
    "c": 0.11448,
    "h": 269.3
  },
  "luminance": 0.05886
}

Semantic roles & 50–950 ramp

primary
#2E4083
secondary
#AF9E5E
accent
#BB50D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2E4083

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

Preview Lab → · Contrast checker → · Palette generator →

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