#2E487D#2E487D

#2E487D is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.9% C 0.095 H 263.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#2E487D
RGBrgb(46, 72, 125)
HSLhsl(220, 46%, 34%)
HSVhsv(220, 63%, 49%)
CMYKcmyk(63.2%, 42.4%, 0%, 51%)
CIE-LABlab(31.10, 7.98, -33.07)
CIE-LCHlch(31.10, 34.02, 283.57°)
OKLaboklab(40.87% -0.0113 -0.0941)
OKLCHoklch(40.87% 0.095 263.1)
XYZxyz(7.1445, 6.6956, 20.3139)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E487D #7D632E
analogous
#2E6F7D #2E487D #3B2E7D
triadic
#2E487D #7D2E48 #487D2E
tetradic
#2E487D #7D2E6F #7D632E #2E7D3B
square
#2E487D #7D2E6F #7D632E #2E7D3B
split-complementary
#2E487D #7D3B2E #6F7D2E
monochromatic
#0D1424 #1E2E50 #2E487D #3E62AA #6182C5

Accessibility & contrast

On white

8.98
#2E487D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2E487D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E487D
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E487D#FFFFFF#000000##FFFFFF
##2E487D1.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7F
Deuteranopia (green-blind)
#26467C
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e487d;
/* rgb */ color: rgb(46, 72, 125);
/* oklch */ color: oklch(40.9% 0.095 263.1);
Tailwind
colors: {
  custom: {
    50: '#6e7aa3',
    500: '#2e487d',
    950: '#000000',
  },
}
SCSS
$custom: #2e487d;
$custom-light: #6e7aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#2e487d",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 125
  },
  "hsl": {
    "h": 220.253,
    "s": 46.199,
    "l": 33.529
  },
  "oklch": {
    "l": 0.40867,
    "c": 0.09475,
    "h": 263.1
  },
  "luminance": 0.06696
}

Semantic roles & 50–950 ramp

primary
#2E487D
secondary
#AB915B
accent
#AA52D6
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2E487D

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

Preview Lab → · Contrast checker → · Palette generator →

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