#2E477B#2E477B

#2E477B is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.5% C 0.093 H 263.4°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2E477B
RGBrgb(46, 71, 123)
HSLhsl(221, 46%, 33%)
HSVhsv(221, 63%, 48%)
CMYKcmyk(62.6%, 42.3%, 0%, 51.8%)
CIE-LABlab(30.68, 7.91, -32.49)
CIE-LCHlch(30.68, 33.44, 283.69°)
OKLaboklab(40.5% -0.0106 -0.0924)
OKLCHoklch(40.5% 0.093 263.4)
XYZxyz(6.9539, 6.5168, 19.6265)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E477B #7B622E
analogous
#2E6D7B #2E477B #3B2E7B
triadic
#2E477B #7B2E47 #477B2E
tetradic
#2E477B #7B2E6D #7B622E #2E7B3B
square
#2E477B #7B2E6D #7B622E #2E7B3B
split-complementary
#2E477B #7B3B2E #6D7B2E
monochromatic
#0D1422 #1D2D4E #2E477B #3F61A8 #6080C3

Accessibility & contrast

On white

9.12
#2E477B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2E477B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E477B
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E477B#FFFFFF#000000##FFFFFF
##2E477B1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7D
Deuteranopia (green-blind)
#26457A
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e477b;
/* rgb */ color: rgb(46, 71, 123);
/* oklch */ color: oklch(40.5% 0.093 263.4);
Tailwind
colors: {
  custom: {
    50: '#6e79a1',
    500: '#2e477b',
    950: '#000000',
  },
}
SCSS
$custom: #2e477b;
$custom-light: #6e79a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2e477b",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 220.519,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40501,
    "c": 0.093,
    "h": 263.4
  },
  "luminance": 0.06517
}

Semantic roles & 50–950 ramp

primary
#2E477B
secondary
#AA905B
accent
#AB53D5
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#08090F
muted
#7B7B7E

Preview Lab

Preview with #2E477B

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

Preview Lab → · Contrast checker → · Palette generator →

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