#2B477E#2B477E

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

Color values

HEX#2B477E
RGBrgb(43, 71, 126)
HSLhsl(220, 49%, 33%)
HSVhsv(220, 66%, 49%)
CMYKcmyk(65.9%, 43.7%, 0%, 50.6%)
CIE-LABlab(30.70, 8.42, -34.34)
CIE-LCHlch(30.70, 35.36, 283.78°)
OKLaboklab(40.53% -0.0129 -0.0979)
OKLCHoklch(40.53% 0.099 262.5)
XYZxyz(7.0141, 6.5258, 20.6246)
Luminance0.0653 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B477E #7E622B
analogous
#2B707E #2B477E #382B7E
triadic
#2B477E #7E2B47 #477E2B
tetradic
#2B477E #7E2B70 #7E622B #2B7E38
square
#2B477E #7E2B70 #7E622B #2B7E38
split-complementary
#2B477E #7E382B #707E2B
monochromatic
#0C1423 #1B2D50 #2B477E #3B61AC #5C80C7

Accessibility & contrast

On white

9.11
#2B477E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B477E
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B477E#FFFFFF#000000##FFFFFF
##2B477E1.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E4C80
Deuteranopia (green-blind)
#21457D
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b477e;
/* rgb */ color: rgb(43, 71, 126);
/* oklch */ color: oklch(40.5% 0.099 262.5);
Tailwind
colors: {
  custom: {
    50: '#6d79a4',
    500: '#2b477e',
    950: '#000000',
  },
}
SCSS
$custom: #2b477e;
$custom-light: #6d79a4;
$custom-dark: #000000;
JSON
{
  "hex": "#2b477e",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 126
  },
  "hsl": {
    "h": 219.759,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.40534,
    "c": 0.09872,
    "h": 262.5
  },
  "luminance": 0.06526
}

Semantic roles & 50–950 ramp

primary
#2B477E
secondary
#AD9058
accent
#AA4FD9
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2B477E

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

Preview Lab → · Contrast checker → · Palette generator →

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