#2E479A#2E479A

#2E479A is a dark, vivid blue. Relative luminance 0.074; OKLCH L 42.7% C 0.139 H 267.6°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#2E479A
RGBrgb(46, 71, 154)
HSLhsl(226, 54%, 39%)
HSVhsv(226, 70%, 60%)
CMYKcmyk(70.1%, 53.9%, 0%, 39.6%)
CIE-LABlab(32.74, 19.56, -48.25)
CIE-LCHlch(32.74, 52.07, 292.07°)
OKLaboklab(42.74% -0.0059 -0.1387)
OKLCHoklch(42.74% 0.139 267.6)
XYZxyz(9.2107, 7.4195, 31.5123)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E479A #9A812E
analogous
#2E7D9A #2E479A #4B2E9A
triadic
#2E479A #9A2E47 #479A2E
tetradic
#2E479A #9A2E7D #9A812E #2E9A4B
square
#2E479A #9A2E7D #9A812E #2E9A4B
split-complementary
#2E479A #9A4B2E #7D9A2E
monochromatic
#121C3C #20316B #2E479A #3F5FC6 #6F86D4

Accessibility & contrast

On white

8.45
#2E479A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2E479A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E479A
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E479A#FFFFFF#000000##FFFFFF
##2E479A1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E529D
Deuteranopia (green-blind)
#004898
Tritanopia (blue-blind)
#005B69
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e479a;
/* rgb */ color: rgb(46, 71, 154);
/* oklch */ color: oklch(42.7% 0.139 267.6);
Tailwind
colors: {
  custom: {
    50: '#7479b8',
    500: '#2e479a',
    950: '#000000',
  },
}
SCSS
$custom: #2e479a;
$custom-light: #7479b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e479a",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 154
  },
  "hsl": {
    "h": 226.111,
    "s": 54,
    "l": 39.216
  },
  "oklch": {
    "l": 0.4274,
    "c": 0.13885,
    "h": 267.6
  },
  "luminance": 0.0742
}

Semantic roles & 50–950 ramp

primary
#2E479A
secondary
#BBA869
accent
#BB4ADD
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E479A

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

Preview Lab → · Contrast checker → · Palette generator →

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