#2E478D#2E478D

#2E478D is a dark, moderate blue. Relative luminance 0.070; OKLCH L 41.8% C 0.120 H 266.5°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2E478D
RGBrgb(46, 71, 141)
HSLhsl(224, 51%, 37%)
HSVhsv(224, 67%, 55%)
CMYKcmyk(67.4%, 49.6%, 0%, 44.7%)
CIE-LABlab(31.83, 14.65, -41.80)
CIE-LCHlch(31.83, 44.29, 289.31°)
OKLaboklab(41.75% -0.0074 -0.1197)
OKLCHoklch(41.75% 0.12 266.5)
XYZxyz(8.1860, 7.0096, 26.1157)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E478D #8D742E
analogous
#2E778D #2E478D #452E8D
triadic
#2E478D #8D2E47 #478D2E
tetradic
#2E478D #8D2E77 #8D742E #2E8D45
square
#2E478D #8D2E77 #8D742E #2E8D45
split-complementary
#2E478D #8D452E #778D2E
monochromatic
#101931 #1F305F #2E478D #3D5EBB #6883CE

Accessibility & contrast

On white

8.74
#2E478D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2E478D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E478D
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E478D#FFFFFF#000000##FFFFFF
##2E478D1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F90
Deuteranopia (green-blind)
#0C478C
Tritanopia (blue-blind)
#005763
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e478d;
/* rgb */ color: rgb(46, 71, 141);
/* oklch */ color: oklch(41.8% 0.120 266.5);
Tailwind
colors: {
  custom: {
    50: '#7279af',
    500: '#2e478d',
    950: '#000000',
  },
}
SCSS
$custom: #2e478d;
$custom-light: #7279af;
$custom-dark: #000000;
JSON
{
  "hex": "#2e478d",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 141
  },
  "hsl": {
    "h": 224.211,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.41753,
    "c": 0.11996,
    "h": 266.5
  },
  "luminance": 0.0701
}

Semantic roles & 50–950 ramp

primary
#2E478D
secondary
#B59F62
accent
#B54EDA
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080910
muted
#7B7B7F

Preview Lab

Preview with #2E478D

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

Preview Lab → · Contrast checker → · Palette generator →

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