#2E479E#2E479E

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

Color values

HEX#2E479E
RGBrgb(46, 71, 158)
HSLhsl(227, 55%, 40%)
HSVhsv(227, 71%, 62%)
CMYKcmyk(70.9%, 55.1%, 0%, 38%)
CIE-LABlab(33.04, 21.07, -50.19)
CIE-LCHlch(33.04, 54.44, 292.77°)
OKLaboklab(43.06% -0.0056 -0.1444)
OKLCHoklch(43.06% 0.145 267.8)
XYZxyz(9.5494, 7.5550, 33.2961)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E479E #9E852E
analogous
#2E7F9E #2E479E #4D2E9E
triadic
#2E479E #9E2E47 #479E2E
tetradic
#2E479E #9E2E7F #9E852E #2E9E4D
square
#2E479E #9E2E7F #9E852E #2E9E4D
split-complementary
#2E479E #9E4D2E #7F9E2E
monochromatic
#121C3F #20326F #2E479E #415FC8 #7187D6

Accessibility & contrast

On white

8.36
#2E479E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2E479E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E479E
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E479E#FFFFFF#000000##FFFFFF
##2E479E1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0153A1
Deuteranopia (green-blind)
#00499C
Tritanopia (blue-blind)
#005C6B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2e479e;
/* rgb */ color: rgb(46, 71, 158);
/* oklch */ color: oklch(43.1% 0.145 267.8);
Tailwind
colors: {
  custom: {
    50: '#7579bb',
    500: '#2e479e',
    950: '#000000',
  },
}
SCSS
$custom: #2e479e;
$custom-light: #7579bb;
$custom-dark: #000000;
JSON
{
  "hex": "#2e479e",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 158
  },
  "hsl": {
    "h": 226.607,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.43056,
    "c": 0.14454,
    "h": 267.8
  },
  "luminance": 0.07556
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E479E

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

Preview Lab → · Contrast checker → · Palette generator →

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