#2E477E#2E477E

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

Color values

HEX#2E477E
RGBrgb(46, 71, 126)
HSLhsl(221, 47%, 34%)
HSVhsv(221, 63%, 49%)
CMYKcmyk(63.5%, 43.7%, 0%, 50.6%)
CIE-LABlab(30.86, 9.02, -34.08)
CIE-LCHlch(30.86, 35.25, 284.83°)
OKLaboklab(40.7% -0.01 -0.097)
OKLCHoklch(40.7% 0.098 264.1)
XYZxyz(7.1445, 6.5931, 20.6307)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E477E #7E652E
analogous
#2E6F7E #2E477E #3D2E7E
triadic
#2E477E #7E2E47 #477E2E
tetradic
#2E477E #7E2E6F #7E652E #2E7E3D
square
#2E477E #7E2E6F #7E652E #2E7E3D
split-complementary
#2E477E #7E3D2E #6F7E2E
monochromatic
#0D1424 #1E2E51 #2E477E #3E60AB #6180C5

Accessibility & contrast

On white

9.06
#2E477E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E477E
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E477E#FFFFFF#000000##FFFFFF
##2E477E1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4D80
Deuteranopia (green-blind)
#23457D
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2e477e;
/* rgb */ color: rgb(46, 71, 126);
/* oklch */ color: oklch(40.7% 0.098 264.1);
Tailwind
colors: {
  custom: {
    50: '#6f79a4',
    500: '#2e477e',
    950: '#000000',
  },
}
SCSS
$custom: #2e477e;
$custom-light: #6f79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2e477e",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 221.25,
    "s": 46.512,
    "l": 33.725
  },
  "oklch": {
    "l": 0.407,
    "c": 0.09754,
    "h": 264.1
  },
  "luminance": 0.06594
}

Semantic roles & 50–950 ramp

primary
#2E477E
secondary
#AC935C
accent
#AD52D6
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2E477E

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

Preview Lab → · Contrast checker → · Palette generator →

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