#2E4082#2E4082

#2E4082 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.4% C 0.113 H 269.2°. Best body text is #FFFFFF at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#2E4082
RGBrgb(46, 64, 130)
HSLhsl(227, 48%, 35%)
HSVhsv(227, 65%, 51%)
CMYKcmyk(64.6%, 50.8%, 0%, 49%)
CIE-LABlab(29.05, 15.27, -39.46)
CIE-LCHlch(29.05, 42.31, 291.15°)
OKLaboklab(39.4% -0.0016 -0.113)
OKLCHoklch(39.4% 0.113 269.2)
XYZxyz(6.9880, 5.8587, 21.8774)
Luminance0.0586 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4082 #82702E
analogous
#2E6A82 #2E4082 #462E82
triadic
#2E4082 #822E40 #40822E
tetradic
#2E4082 #822E6A #82702E #2E8246
square
#2E4082 #822E6A #82702E #2E8246
split-complementary
#2E4082 #82462E #6A822E
monochromatic
#0E1328 #1E2A55 #2E4082 #3E56AF #6378C8

Accessibility & contrast

On white

9.67
#2E4082 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2E4082 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4082
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4082#FFFFFF#000000##FFFFFF
##2E40821.009.672.179.67
#FFFFFF9.671.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4884
Deuteranopia (green-blind)
#0B4181
Tritanopia (blue-blind)
#004F5A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e4082;
/* rgb */ color: rgb(46, 64, 130);
/* oklch */ color: oklch(39.4% 0.113 269.2);
Tailwind
colors: {
  custom: {
    50: '#7074a7',
    500: '#2e4082',
    950: '#000000',
  },
}
SCSS
$custom: #2e4082;
$custom-light: #7074a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4082",
  "rgb": {
    "r": 46,
    "g": 64,
    "b": 130
  },
  "hsl": {
    "h": 227.143,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.394,
    "c": 0.11297,
    "h": 269.2
  },
  "luminance": 0.05859
}

Semantic roles & 50–950 ramp

primary
#2E4082
secondary
#AE9D5D
accent
#BA50D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2E4082

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

Preview Lab → · Contrast checker → · Palette generator →

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