#2E487C#2E487C

#2E487C is a dark, moderate blue. Relative luminance 0.067; OKLCH L 40.8% C 0.093 H 262.9°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#2E487C
RGBrgb(46, 72, 124)
HSLhsl(220, 46%, 33%)
HSVhsv(220, 63%, 49%)
CMYKcmyk(62.9%, 41.9%, 0%, 51.4%)
CIE-LABlab(31.04, 7.61, -32.54)
CIE-LCHlch(31.04, 33.42, 283.17°)
OKLaboklab(40.8% -0.0116 -0.0925)
OKLCHoklch(40.8% 0.093 262.9)
XYZxyz(7.0809, 6.6702, 19.9792)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E487C #7C622E
analogous
#2E6F7C #2E487C #3B2E7C
triadic
#2E487C #7C2E48 #487C2E
tetradic
#2E487C #7C2E6F #7C622E #2E7C3B
square
#2E487C #7C2E6F #7C622E #2E7C3B
split-complementary
#2E487C #7C3B2E #6F7C2E
monochromatic
#0D1423 #1D2E4F #2E487C #3F62A9 #6082C4

Accessibility & contrast

On white

9.00
#2E487C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2E487C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E487C
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E487C#FFFFFF#000000##FFFFFF
##2E487C1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314D7E
Deuteranopia (green-blind)
#27467B
Tritanopia (blue-blind)
#00545C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e487c;
/* rgb */ color: rgb(46, 72, 124);
/* oklch */ color: oklch(40.8% 0.093 262.9);
Tailwind
colors: {
  custom: {
    50: '#6e7aa2',
    500: '#2e487c',
    950: '#000000',
  },
}
SCSS
$custom: #2e487c;
$custom-light: #6e7aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e487c",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 124
  },
  "hsl": {
    "h": 220,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40802,
    "c": 0.09324,
    "h": 262.9
  },
  "luminance": 0.06671
}

Semantic roles & 50–950 ramp

primary
#2E487C
secondary
#AB905B
accent
#AA52D6
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2E487C

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

Preview Lab → · Contrast checker → · Palette generator →

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