#2B477B#2B477B

#2B477B is a dark, moderate blue. Relative luminance 0.065; OKLCH L 40.3% C 0.094 H 261.7°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#2B477B
RGBrgb(43, 71, 123)
HSLhsl(219, 48%, 33%)
HSVhsv(219, 65%, 48%)
CMYKcmyk(65%, 42.3%, 0%, 51.8%)
CIE-LABlab(30.52, 7.29, -32.76)
CIE-LCHlch(30.52, 33.56, 282.55°)
OKLaboklab(40.33% -0.0135 -0.0932)
OKLCHoklch(40.33% 0.094 261.7)
XYZxyz(6.8234, 6.4495, 19.6203)
Luminance0.0645 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B477B #7B5F2B
analogous
#2B6F7B #2B477B #372B7B
triadic
#2B477B #7B2B47 #477B2B
tetradic
#2B477B #7B2B6F #7B5F2B #2B7B37
square
#2B477B #7B2B6F #7B5F2B #2B7B37
split-complementary
#2B477B #7B372B #6F7B2B
monochromatic
#0B1320 #1B2D4E #2B477B #3B61A8 #5B80C6

Accessibility & contrast

On white

9.17
#2B477B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B477B
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B477B#FFFFFF#000000##FFFFFF
##2B477B1.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304C7D
Deuteranopia (green-blind)
#24447A
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2b477b;
/* rgb */ color: rgb(43, 71, 123);
/* oklch */ color: oklch(40.3% 0.094 261.7);
Tailwind
colors: {
  custom: {
    50: '#6d79a1',
    500: '#2b477b',
    950: '#000000',
  },
}
SCSS
$custom: #2b477b;
$custom-light: #6d79a1;
$custom-dark: #000000;
JSON
{
  "hex": "#2b477b",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 123
  },
  "hsl": {
    "h": 219,
    "s": 48.193,
    "l": 32.549
  },
  "oklch": {
    "l": 0.40333,
    "c": 0.09421,
    "h": 261.7
  },
  "luminance": 0.0645
}

Semantic roles & 50–950 ramp

primary
#2B477B
secondary
#AB8E56
accent
#A850D8
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #2B477B

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

Preview Lab → · Contrast checker → · Palette generator →

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