#2B477A#2B477A

#2B477A is a dark, moderate blue. Relative luminance 0.064; OKLCH L 40.3% C 0.093 H 261.5°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#2B477A
RGBrgb(43, 71, 122)
HSLhsl(219, 48%, 32%)
HSVhsv(219, 65%, 48%)
CMYKcmyk(64.8%, 41.8%, 0%, 52.2%)
CIE-LABlab(30.46, 6.92, -32.23)
CIE-LCHlch(30.46, 32.96, 282.11°)
OKLaboklab(40.27% -0.0138 -0.0917)
OKLCHoklch(40.27% 0.093 261.5)
XYZxyz(6.7611, 6.4246, 19.2923)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B477A #7A5E2B
analogous
#2B6F7A #2B477A #362B7A
triadic
#2B477A #7A2B47 #477A2B
tetradic
#2B477A #7A2B6F #7A5E2B #2B7A36
square
#2B477A #7A2B6F #7A5E2B #2B7A36
split-complementary
#2B477A #7A362B #6F7A2B
monochromatic
#0B121F #1B2D4D #2B477A #3B61A7 #5A80C5

Accessibility & contrast

On white

9.19
#2B477A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2B477A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B477A
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B477A#FFFFFF#000000##FFFFFF
##2B477A1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7C
Deuteranopia (green-blind)
#254479
Tritanopia (blue-blind)
#00535A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b477a;
/* rgb */ color: rgb(43, 71, 122);
/* oklch */ color: oklch(40.3% 0.093 261.5);
Tailwind
colors: {
  custom: {
    50: '#6c79a1',
    500: '#2b477a',
    950: '#000000',
  },
}
SCSS
$custom: #2b477a;
$custom-light: #6c79a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b477a",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 122
  },
  "hsl": {
    "h": 218.734,
    "s": 47.879,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40267,
    "c": 0.09271,
    "h": 261.5
  },
  "luminance": 0.06425
}

Semantic roles & 50–950 ramp

primary
#2B477A
secondary
#AB8D56
accent
#A850D7
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #2B477A

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

Preview Lab → · Contrast checker → · Palette generator →

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