#2E487A#2E487A

#2E487A is a dark, moderate blue. Relative luminance 0.066; OKLCH L 40.7% C 0.090 H 262.3°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#2E487A
RGBrgb(46, 72, 122)
HSLhsl(219, 45%, 33%)
HSVhsv(219, 62%, 48%)
CMYKcmyk(62.3%, 41%, 0%, 52.2%)
CIE-LABlab(30.93, 6.87, -31.48)
CIE-LCHlch(30.93, 32.22, 282.32°)
OKLaboklab(40.67% -0.012 -0.0894)
OKLCHoklch(40.67% 0.09 262.3)
XYZxyz(6.9557, 6.6201, 19.3198)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E487A #7A602E
analogous
#2E6E7A #2E487A #3A2E7A
triadic
#2E487A #7A2E48 #487A2E
tetradic
#2E487A #7A2E6E #7A602E #2E7A3A
square
#2E487A #7A2E6E #7A602E #2E7A3A
split-complementary
#2E487A #7A3A2E #6E7A2E
monochromatic
#0C1421 #1D2E4E #2E487A #3F62A6 #6082C3

Accessibility & contrast

On white

9.04
#2E487A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2E487A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E487A
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E487A#FFFFFF#000000##FFFFFF
##2E487A1.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#334D7C
Deuteranopia (green-blind)
#284679
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e487a;
/* rgb */ color: rgb(46, 72, 122);
/* oklch */ color: oklch(40.7% 0.090 262.3);
Tailwind
colors: {
  custom: {
    50: '#6e7aa1',
    500: '#2e487a',
    950: '#000000',
  },
}
SCSS
$custom: #2e487a;
$custom-light: #6e7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e487a",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 122
  },
  "hsl": {
    "h": 219.474,
    "s": 45.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40672,
    "c": 0.09022,
    "h": 262.3
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#2E487A
secondary
#AA8E5A
accent
#A853D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #2E487A

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

Preview Lab → · Contrast checker → · Palette generator →

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