#2E4282#2E4282

#2E4282 is a dark, moderate blue. Relative luminance 0.061; OKLCH L 39.8% C 0.110 H 268.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#2E4282
RGBrgb(46, 66, 130)
HSLhsl(226, 48%, 35%)
HSVhsv(226, 65%, 51%)
CMYKcmyk(64.6%, 49.2%, 0%, 49%)
CIE-LABlab(29.63, 13.90, -38.53)
CIE-LCHlch(29.63, 40.96, 289.84°)
OKLaboklab(39.84% -0.0037 -0.1102)
OKLCHoklch(39.84% 0.11 268.1)
XYZxyz(7.1028, 6.0884, 21.9156)
Luminance0.0609 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4282 #826E2E
analogous
#2E6C82 #2E4282 #442E82
triadic
#2E4282 #822E42 #42822E
tetradic
#2E4282 #822E6C #826E2E #2E8244
square
#2E4282 #822E6C #826E2E #2E8244
split-complementary
#2E4282 #82442E #6C822E
monochromatic
#0E1428 #1E2B55 #2E4282 #3E59AF #637BC8

Accessibility & contrast

On white

9.47
#2E4282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#2E4282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4282
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4282#FFFFFF#000000##FFFFFF
##2E42821.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224A84
Deuteranopia (green-blind)
#124281
Tritanopia (blue-blind)
#00515B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2e4282;
/* rgb */ color: rgb(46, 66, 130);
/* oklch */ color: oklch(39.8% 0.110 268.1);
Tailwind
colors: {
  custom: {
    50: '#7076a7',
    500: '#2e4282',
    950: '#000000',
  },
}
SCSS
$custom: #2e4282;
$custom-light: #7076a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4282",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 130
  },
  "hsl": {
    "h": 225.714,
    "s": 47.727,
    "l": 34.51
  },
  "oklch": {
    "l": 0.39842,
    "c": 0.11025,
    "h": 268.1
  },
  "luminance": 0.06089
}

Semantic roles & 50–950 ramp

primary
#2E4282
secondary
#AE9B5D
accent
#B750D7
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #2E4282

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

Preview Lab → · Contrast checker → · Palette generator →

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