#2E477C#2E477C

#2E477C is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.6% C 0.095 H 263.7°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#2E477C
RGBrgb(46, 71, 124)
HSLhsl(221, 46%, 33%)
HSVhsv(221, 63%, 49%)
CMYKcmyk(62.9%, 42.7%, 0%, 51.4%)
CIE-LABlab(30.74, 8.28, -33.02)
CIE-LCHlch(30.74, 34.05, 284.08°)
OKLaboklab(40.57% -0.0104 -0.0939)
OKLCHoklch(40.57% 0.095 263.7)
XYZxyz(7.0168, 6.5419, 19.9578)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E477C #7C632E
analogous
#2E6E7C #2E477C #3C2E7C
triadic
#2E477C #7C2E47 #477C2E
tetradic
#2E477C #7C2E6E #7C632E #2E7C3C
square
#2E477C #7C2E6E #7C632E #2E7C3C
split-complementary
#2E477C #7C3C2E #6E7C2E
monochromatic
#0D1423 #1D2D4F #2E477C #3F61A9 #6080C4

Accessibility & contrast

On white

9.10
#2E477C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#2E477C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E477C
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E477C#FFFFFF#000000##FFFFFF
##2E477C1.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7E
Deuteranopia (green-blind)
#25457B
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2e477c;
/* rgb */ color: rgb(46, 71, 124);
/* oklch */ color: oklch(40.6% 0.095 263.7);
Tailwind
colors: {
  custom: {
    50: '#6e79a2',
    500: '#2e477c',
    950: '#000000',
  },
}
SCSS
$custom: #2e477c;
$custom-light: #6e79a2;
$custom-dark: #000000;
JSON
{
  "hex": "#2e477c",
  "rgb": {
    "r": 46,
    "g": 71,
    "b": 124
  },
  "hsl": {
    "h": 220.769,
    "s": 45.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.40567,
    "c": 0.09452,
    "h": 263.7
  },
  "luminance": 0.06543
}

Semantic roles & 50–950 ramp

primary
#2E477C
secondary
#AB915B
accent
#AB52D6
background
#F6F7FA
surface
#ECEDF3
border
#C7C8CD
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2E477C

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

Preview Lab → · Contrast checker → · Palette generator →

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