#2E479B#2E479B

#2E479B is a dark, vivid blue. Relative luminance 0.075; OKLCH L 42.8% C 0.140 H 267.6°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#2E479B
RGBrgb(46, 71, 155)
HSLhsl(226, 54%, 39%)
HSVhsv(226, 70%, 61%)
CMYKcmyk(70.3%, 54.2%, 0%, 39.2%)
CIE-LABlab(32.82, 19.94, -48.74)
CIE-LCHlch(32.82, 52.66, 292.25°)
OKLaboklab(42.82% -0.0058 -0.1401)
OKLCHoklch(42.82% 0.14 267.6)
XYZxyz(9.2943, 7.4530, 31.9527)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E479B #9B822E
analogous
#2E7D9B #2E479B #4C2E9B
triadic
#2E479B #9B2E47 #479B2E
tetradic
#2E479B #9B2E7D #9B822E #2E9B4C
square
#2E479B #9B2E7D #9B822E #2E9B4C
split-complementary
#2E479B #9B4C2E #7D9B2E
monochromatic
#121C3D #20316C #2E479B #405FC6 #6F86D4

Accessibility & contrast

On white

8.43
#2E479B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2E479B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E479B
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E479B#FFFFFF#000000##FFFFFF
##2E479B1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B529E
Deuteranopia (green-blind)
#004899
Tritanopia (blue-blind)
#005B6A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2e479b;
/* rgb */ color: rgb(46, 71, 155);
/* oklch */ color: oklch(42.8% 0.140 267.6);
Tailwind
colors: {
  custom: {
    50: '#7579b9',
    500: '#2e479b',
    950: '#000000',
  },
}
SCSS
$custom: #2e479b;
$custom-light: #7579b9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e479b",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 155
  },
  "hsl": {
    "h": 226.239,
    "s": 54.229,
    "l": 39.412
  },
  "oklch": {
    "l": 0.42818,
    "c": 0.14027,
    "h": 267.6
  },
  "luminance": 0.07454
}

Semantic roles & 50–950 ramp

primary
#2E479B
secondary
#BCA969
accent
#BC4ADE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090911
muted
#7B7B80

Preview Lab

Preview with #2E479B

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

Preview Lab → · Contrast checker → · Palette generator →

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