#2E487F#2E487F

#2E487F is a dark, moderate blue. Relative luminance 0.067; OKLCH L 41.0% C 0.098 H 263.6°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#2E487F
RGBrgb(46, 72, 127)
HSLhsl(221, 47%, 34%)
HSVhsv(221, 64%, 50%)
CMYKcmyk(63.8%, 43.3%, 0%, 50.2%)
CIE-LABlab(31.22, 8.72, -34.12)
CIE-LCHlch(31.22, 35.22, 284.34°)
OKLaboklab(41% -0.0109 -0.0971)
OKLCHoklch(41% 0.098 263.6)
XYZxyz(7.2735, 6.7472, 20.9936)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E487F #7F652E
analogous
#2E717F #2E487F #3D2E7F
triadic
#2E487F #7F2E48 #487F2E
tetradic
#2E487F #7F2E71 #7F652E #2E7F3D
square
#2E487F #7F2E71 #7F652E #2E7F3D
split-complementary
#2E487F #7F3D2E #717F2E
monochromatic
#0D1525 #1E2F52 #2E487F #3E61AC #6182C6

Accessibility & contrast

On white

8.94
#2E487F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2E487F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E487F
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E487F#FFFFFF#000000##FFFFFF
##2E487F1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D81
Deuteranopia (green-blind)
#24467E
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e487f;
/* rgb */ color: rgb(46, 72, 127);
/* oklch */ color: oklch(41.0% 0.098 263.6);
Tailwind
colors: {
  custom: {
    50: '#6f7aa4',
    500: '#2e487f',
    950: '#000000',
  },
}
SCSS
$custom: #2e487f;
$custom-light: #6f7aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e487f",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 127
  },
  "hsl": {
    "h": 220.741,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.40999,
    "c": 0.09776,
    "h": 263.6
  },
  "luminance": 0.06748
}

Semantic roles & 50–950 ramp

primary
#2E487F
secondary
#AD935C
accent
#AC51D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2E487F

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

Preview Lab → · Contrast checker → · Palette generator →

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