#2B477D#2B477D

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

Color values

HEX#2B477D
RGBrgb(43, 71, 125)
HSLhsl(220, 49%, 33%)
HSVhsv(220, 66%, 49%)
CMYKcmyk(65.6%, 43.2%, 0%, 51%)
CIE-LABlab(30.64, 8.04, -33.81)
CIE-LCHlch(30.64, 34.76, 283.38°)
OKLaboklab(40.47% -0.0131 -0.0963)
OKLCHoklch(40.47% 0.097 262.3)
XYZxyz(6.9499, 6.5001, 20.2865)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B477D #7D612B
analogous
#2B707D #2B477D #382B7D
triadic
#2B477D #7D2B47 #477D2B
tetradic
#2B477D #7D2B70 #7D612B #2B7D38
square
#2B477D #7D2B70 #7D612B #2B7D38
split-complementary
#2B477D #7D382B #707D2B
monochromatic
#0C1322 #1B2D4F #2B477D #3B61AB #5C80C7

Accessibility & contrast

On white

9.13
#2B477D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B477D
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B477D#FFFFFF#000000##FFFFFF
##2B477D1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4C7F
Deuteranopia (green-blind)
#22457C
Tritanopia (blue-blind)
#00535C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b477d;
/* rgb */ color: rgb(43, 71, 125);
/* oklch */ color: oklch(40.5% 0.097 262.3);
Tailwind
colors: {
  custom: {
    50: '#6d79a3',
    500: '#2b477d',
    950: '#000000',
  },
}
SCSS
$custom: #2b477d;
$custom-light: #6d79a3;
$custom-dark: #000000;
JSON
{
  "hex": "#2b477d",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 125
  },
  "hsl": {
    "h": 219.512,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.40466,
    "c": 0.09722,
    "h": 262.3
  },
  "luminance": 0.06501
}

Semantic roles & 50–950 ramp

primary
#2B477D
secondary
#AD8F57
accent
#AA4FD8
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08090F
muted
#7B7B7F

Preview Lab

Preview with #2B477D

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

Preview Lab → · Contrast checker → · Palette generator →

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