#2E4783#2E4783

#2E4783 is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.0% C 0.105 H 265.1°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2E4783
RGBrgb(46, 71, 131)
HSLhsl(222, 48%, 35%)
HSVhsv(222, 65%, 51%)
CMYKcmyk(64.9%, 45.8%, 0%, 48.6%)
CIE-LABlab(31.17, 10.89, -36.68)
CIE-LCHlch(31.17, 38.27, 286.53°)
OKLaboklab(41.04% -0.009 -0.1047)
OKLCHoklch(41.04% 0.105 265.1)
XYZxyz(7.4753, 6.7253, 22.3725)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4783 #836A2E
analogous
#2E7283 #2E4783 #402E83
triadic
#2E4783 #832E47 #47832E
tetradic
#2E4783 #832E72 #836A2E #2E8340
square
#2E4783 #832E72 #836A2E #2E8340
split-complementary
#2E4783 #83402E #72832E
monochromatic
#0E1628 #1E2E56 #2E4783 #3E60B0 #6381C8

Accessibility & contrast

On white

8.95
#2E4783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2E4783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4783
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4783#FFFFFF#000000##FFFFFF
##2E47831.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4D85
Deuteranopia (green-blind)
#1D4682
Tritanopia (blue-blind)
#00555E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e4783;
/* rgb */ color: rgb(46, 71, 131);
/* oklch */ color: oklch(41.0% 0.105 265.1);
Tailwind
colors: {
  custom: {
    50: '#7079a7',
    500: '#2e4783',
    950: '#000000',
  },
}
SCSS
$custom: #2e4783;
$custom-light: #7079a7;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4783",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 131
  },
  "hsl": {
    "h": 222.353,
    "s": 48.023,
    "l": 34.706
  },
  "oklch": {
    "l": 0.41041,
    "c": 0.10508,
    "h": 265.1
  },
  "luminance": 0.06726
}

Semantic roles & 50–950 ramp

primary
#2E4783
secondary
#AF975E
accent
#B050D8
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2E4783

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

Preview Lab → · Contrast checker → · Palette generator →

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