#2E479D#2E479D

#2E479D is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.0% C 0.143 H 267.7°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2E479D
RGBrgb(46, 71, 157)
HSLhsl(226, 55%, 40%)
HSVhsv(226, 71%, 62%)
CMYKcmyk(70.7%, 54.8%, 0%, 38.4%)
CIE-LABlab(32.96, 20.69, -49.71)
CIE-LCHlch(32.96, 53.85, 292.60°)
OKLaboklab(42.98% -0.0057 -0.143)
OKLCHoklch(42.98% 0.143 267.7)
XYZxyz(9.4637, 7.5207, 32.8446)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E479D #9D842E
analogous
#2E7F9D #2E479D #4C2E9D
triadic
#2E479D #9D2E47 #479D2E
tetradic
#2E479D #9D2E7F #9D842E #2E9D4C
square
#2E479D #9D2E7F #9D842E #2E9D4C
split-complementary
#2E479D #9D4C2E #7F9D2E
monochromatic
#121C3E #20326E #2E479D #415FC7 #7087D5

Accessibility & contrast

On white

8.39
#2E479D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2E479D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E479D
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E479D#FFFFFF#000000##FFFFFF
##2E479D1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0553A0
Deuteranopia (green-blind)
#00499B
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e479d;
/* rgb */ color: rgb(46, 71, 157);
/* oklch */ color: oklch(43.0% 0.143 267.7);
Tailwind
colors: {
  custom: {
    50: '#7579bb',
    500: '#2e479d',
    950: '#000000',
  },
}
SCSS
$custom: #2e479d;
$custom-light: #7579bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e479d",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 157
  },
  "hsl": {
    "h": 226.486,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.42976,
    "c": 0.14312,
    "h": 267.7
  },
  "luminance": 0.07522
}

Semantic roles & 50–950 ramp

primary
#2E479D
secondary
#BDAA6A
accent
#BD4ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2E479D

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

Preview Lab → · Contrast checker → · Palette generator →

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