#2E479C#2E479C

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

Color values

HEX#2E479C
RGBrgb(46, 71, 156)
HSLhsl(226, 54%, 40%)
HSVhsv(226, 71%, 61%)
CMYKcmyk(70.5%, 54.5%, 0%, 38.8%)
CIE-LABlab(32.89, 20.32, -49.23)
CIE-LCHlch(32.89, 53.25, 292.43°)
OKLaboklab(42.9% -0.0058 -0.1416)
OKLCHoklch(42.9% 0.142 267.7)
XYZxyz(9.3786, 7.4867, 32.3969)
Luminance0.0749 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E479C #9C832E
analogous
#2E7E9C #2E479C #4C2E9C
triadic
#2E479C #9C2E47 #479C2E
tetradic
#2E479C #9C2E7E #9C832E #2E9C4C
square
#2E479C #9C2E7E #9C832E #2E9C4C
split-complementary
#2E479C #9C4C2E #7E9C2E
monochromatic
#121C3D #20316D #2E479C #405FC7 #7087D5

Accessibility & contrast

On white

8.41
#2E479C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E479C
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E479C#FFFFFF#000000##FFFFFF
##2E479C1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08539F
Deuteranopia (green-blind)
#00499A
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e479c;
/* rgb */ color: rgb(46, 71, 156);
/* oklch */ color: oklch(42.9% 0.142 267.7);
Tailwind
colors: {
  custom: {
    50: '#7579ba',
    500: '#2e479c',
    950: '#000000',
  },
}
SCSS
$custom: #2e479c;
$custom-light: #7579ba;
$custom-dark: #000000;
JSON
{
  "hex": "#2e479c",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 156
  },
  "hsl": {
    "h": 226.364,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.42897,
    "c": 0.1417,
    "h": 267.7
  },
  "luminance": 0.07488
}

Semantic roles & 50–950 ramp

primary
#2E479C
secondary
#BCA96A
accent
#BC4ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2E479C

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

Preview Lab → · Contrast checker → · Palette generator →

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