#2E478F#2E478F

#2E478F is a dark, vivid blue. Relative luminance 0.071; OKLCH L 41.9% C 0.123 H 266.7°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#2E478F
RGBrgb(46, 71, 143)
HSLhsl(225, 51%, 37%)
HSVhsv(225, 68%, 56%)
CMYKcmyk(67.8%, 50.3%, 0%, 43.9%)
CIE-LABlab(31.97, 15.40, -42.81)
CIE-LCHlch(31.97, 45.49, 289.79°)
OKLaboklab(41.9% -0.0071 -0.1227)
OKLCHoklch(41.9% 0.123 266.7)
XYZxyz(8.3362, 7.0697, 26.9065)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E478F #8F762E
analogous
#2E788F #2E478F #462E8F
triadic
#2E478F #8F2E47 #478F2E
tetradic
#2E478F #8F2E78 #8F762E #2E8F46
square
#2E478F #8F2E78 #8F762E #2E8F46
split-complementary
#2E478F #8F462E #788F2E
monochromatic
#101932 #1F3061 #2E478F #3D5EBD #6983CF

Accessibility & contrast

On white

8.70
#2E478F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2E478F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E478F
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E478F#FFFFFF#000000##FFFFFF
##2E478F1.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205092
Deuteranopia (green-blind)
#05478E
Tritanopia (blue-blind)
#005864
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2e478f;
/* rgb */ color: rgb(46, 71, 143);
/* oklch */ color: oklch(41.9% 0.123 266.7);
Tailwind
colors: {
  custom: {
    50: '#7279b0',
    500: '#2e478f',
    950: '#000000',
  },
}
SCSS
$custom: #2e478f;
$custom-light: #7279b0;
$custom-dark: #000000;
JSON
{
  "hex": "#2e478f",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 143
  },
  "hsl": {
    "h": 224.536,
    "s": 51.323,
    "l": 37.059
  },
  "oklch": {
    "l": 0.41901,
    "c": 0.1229,
    "h": 266.7
  },
  "luminance": 0.0707
}

Semantic roles & 50–950 ramp

primary
#2E478F
secondary
#B6A063
accent
#B64DDB
background
#F7F7FA
surface
#EDEDF5
border
#C8C8CF
text
#090910
muted
#7B7B7F

Preview Lab

Preview with #2E478F

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

Preview Lab → · Contrast checker → · Palette generator →

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