#2B476F#2B476F

#2B476F is a dark, moderate blue. Relative luminance 0.062; OKLCH L 39.6% C 0.076 H 257.4°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#2B476F
RGBrgb(43, 71, 111)
HSLhsl(215, 44%, 30%)
HSVhsv(215, 61%, 44%)
CMYKcmyk(61.3%, 36%, 0%, 56.5%)
CIE-LABlab(29.83, 2.83, -26.31)
CIE-LCHlch(29.83, 26.46, 276.15°)
OKLaboklab(39.57% -0.0167 -0.0744)
OKLCHoklch(39.57% 0.076 257.4)
XYZxyz(6.1177, 6.1672, 15.9038)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B476F #6F532B
analogous
#2B696F #2B476F #312B6F
triadic
#2B476F #6F2B47 #476F2B
tetradic
#2B476F #6F2B69 #6F532B #2B6F31
square
#2B476F #6F2B69 #6F532B #2B6F31
split-complementary
#2B476F #6F312B #696F2B
monochromatic
#090F17 #1A2B43 #2B476F #3C639B #5781BE

Accessibility & contrast

On white

9.40
#2B476F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2B476F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B476F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B476F#FFFFFF#000000##FFFFFF
##2B476F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364A71
Deuteranopia (green-blind)
#2E436E
Tritanopia (blue-blind)
#005056
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2b476f;
/* rgb */ color: rgb(43, 71, 111);
/* oklch */ color: oklch(39.6% 0.076 257.4);
Tailwind
colors: {
  custom: {
    50: '#6b7998',
    500: '#2b476f',
    950: '#000000',
  },
}
SCSS
$custom: #2b476f;
$custom-light: #6b7998;
$custom-dark: #000000;
JSON
{
  "hex": "#2b476f",
  "rgb": {
    "r": 43,
    "g": 71,
    "b": 111
  },
  "hsl": {
    "h": 215.294,
    "s": 44.156,
    "l": 30.196
  },
  "oklch": {
    "l": 0.39573,
    "c": 0.07621,
    "h": 257.4
  },
  "luminance": 0.06168
}

Semantic roles & 50–950 ramp

primary
#2B476F
secondary
#A18255
accent
#9F54D4
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07090D
muted
#7A7B7E

Preview Lab

Preview with #2B476F

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

Preview Lab → · Contrast checker → · Palette generator →

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