#2E479F#2E479F

#2E479F is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.1% C 0.146 H 267.8°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#2E479F
RGBrgb(46, 71, 159)
HSLhsl(227, 55%, 40%)
HSVhsv(227, 71%, 62%)
CMYKcmyk(71.1%, 55.3%, 0%, 37.6%)
CIE-LABlab(33.11, 21.45, -50.68)
CIE-LCHlch(33.11, 55.03, 292.94°)
OKLaboklab(43.14% -0.0055 -0.1458)
OKLCHoklch(43.14% 0.146 267.8)
XYZxyz(9.6358, 7.5896, 33.7513)
Luminance0.0759 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E479F #9F862E
analogous
#2E7F9F #2E479F #4E2E9F
triadic
#2E479F #9F2E47 #479F2E
tetradic
#2E479F #9F2E7F #9F862E #2E9F4E
square
#2E479F #9F2E7F #9F862E #2E9F4E
split-complementary
#2E479F #9F4E2E #7F9F2E
monochromatic
#131D40 #203270 #2E479F #4260C8 #7188D6

Accessibility & contrast

On white

8.34
#2E479F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2E479F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E479F
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E479F#FFFFFF#000000##FFFFFF
##2E479F1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A2
Deuteranopia (green-blind)
#00499D
Tritanopia (blue-blind)
#005C6C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e479f;
/* rgb */ color: rgb(46, 71, 159);
/* oklch */ color: oklch(43.1% 0.146 267.8);
Tailwind
colors: {
  custom: {
    50: '#7579bc',
    500: '#2e479f',
    950: '#000000',
  },
}
SCSS
$custom: #2e479f;
$custom-light: #7579bc;
$custom-dark: #000000;
JSON
{
  "hex": "#2e479f",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 159
  },
  "hsl": {
    "h": 226.726,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.43136,
    "c": 0.14596,
    "h": 267.8
  },
  "luminance": 0.07591
}

Semantic roles & 50–950 ramp

primary
#2E479F
secondary
#BEAB6B
accent
#BD49DE
background
#F7F7FB
surface
#EEEDF6
border
#C9C8D0
text
#090912
muted
#7B7B81

Preview Lab

Preview with #2E479F

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

Preview Lab → · Contrast checker → · Palette generator →

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