#2E487E#2E487E

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

Color values

HEX#2E487E
RGBrgb(46, 72, 126)
HSLhsl(221, 47%, 34%)
HSVhsv(221, 63%, 49%)
CMYKcmyk(63.5%, 42.9%, 0%, 50.6%)
CIE-LABlab(31.16, 8.35, -33.59)
CIE-LCHlch(31.16, 34.62, 283.96°)
OKLaboklab(40.93% -0.0111 -0.0956)
OKLCHoklch(40.93% 0.096 263.4)
XYZxyz(7.2087, 6.7213, 20.6521)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E487E #7E642E
analogous
#2E707E #2E487E #3C2E7E
triadic
#2E487E #7E2E48 #487E2E
tetradic
#2E487E #7E2E70 #7E642E #2E7E3C
square
#2E487E #7E2E70 #7E642E #2E7E3C
split-complementary
#2E487E #7E3C2E #707E2E
monochromatic
#0D1524 #1E2E51 #2E487E #3E62AB #6182C5

Accessibility & contrast

On white

8.96
#2E487E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E487E
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E487E#FFFFFF#000000##FFFFFF
##2E487E1.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304D80
Deuteranopia (green-blind)
#25467D
Tritanopia (blue-blind)
#00545D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e487e;
/* rgb */ color: rgb(46, 72, 126);
/* oklch */ color: oklch(40.9% 0.096 263.4);
Tailwind
colors: {
  custom: {
    50: '#6f7aa4',
    500: '#2e487e',
    950: '#000000',
  },
}
SCSS
$custom: #2e487e;
$custom-light: #6f7aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e487e",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 126
  },
  "hsl": {
    "h": 220.5,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.40933,
    "c": 0.09625,
    "h": 263.4
  },
  "luminance": 0.06722
}

Semantic roles & 50–950 ramp

primary
#2E487E
secondary
#AC925C
accent
#AB52D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2E487E

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

Preview Lab → · Contrast checker → · Palette generator →

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