#2E487B#2E487B

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

Color values

HEX#2E487B
RGBrgb(46, 72, 123)
HSLhsl(220, 46%, 33%)
HSVhsv(220, 63%, 48%)
CMYKcmyk(62.6%, 41.5%, 0%, 51.8%)
CIE-LABlab(30.98, 7.24, -32.01)
CIE-LCHlch(30.98, 32.82, 282.75°)
OKLaboklab(40.74% -0.0118 -0.091)
OKLCHoklch(40.74% 0.092 262.6)
XYZxyz(7.0180, 6.6450, 19.6478)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E487B #7B612E
analogous
#2E6E7B #2E487B #3A2E7B
triadic
#2E487B #7B2E48 #487B2E
tetradic
#2E487B #7B2E6E #7B612E #2E7B3A
square
#2E487B #7B2E6E #7B612E #2E7B3A
split-complementary
#2E487B #7B3A2E #6E7B2E
monochromatic
#0D1422 #1D2E4E #2E487B #3F62A8 #6082C3

Accessibility & contrast

On white

9.02
#2E487B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E487B
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E487B#FFFFFF#000000##FFFFFF
##2E487B1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324D7D
Deuteranopia (green-blind)
#27467A
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e487b;
/* rgb */ color: rgb(46, 72, 123);
/* oklch */ color: oklch(40.7% 0.092 262.6);
Tailwind
colors: {
  custom: {
    50: '#6e7aa1',
    500: '#2e487b',
    950: '#000000',
  },
}
SCSS
$custom: #2e487b;
$custom-light: #6e7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e487b",
  "rgb": {
    "r": 46,
    "g": 72,
    "b": 123
  },
  "hsl": {
    "h": 219.74,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40736,
    "c": 0.09172,
    "h": 262.6
  },
  "luminance": 0.06646
}

Semantic roles & 50–950 ramp

primary
#2E487B
secondary
#AA8F5B
accent
#A953D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #2E487B

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

Preview Lab → · Contrast checker → · Palette generator →

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