#2B406D#2B406D

#2B406D is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.7% C 0.082 H 264.0°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#2B406D
RGBrgb(43, 64, 109)
HSLhsl(221, 43%, 30%)
HSVhsv(221, 61%, 43%)
CMYKcmyk(60.6%, 41.3%, 0%, 57.3%)
CIE-LABlab(27.53, 6.81, -28.68)
CIE-LCHlch(27.53, 29.48, 283.35°)
OKLaboklab(37.75% -0.0086 -0.0814)
OKLCHoklch(37.75% 0.082 264)
XYZxyz(5.5890, 5.2841, 15.1904)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B406D #6D582B
analogous
#2B616D #2B406D #372B6D
triadic
#2B406D #6D2B40 #406D2B
tetradic
#2B406D #6D2B61 #6D582B #2B6D37
square
#2B406D #6D2B61 #6D582B #2B6D37
split-complementary
#2B406D #6D372B #616D2B
monochromatic
#090D16 #1A2641 #2B406D #3C5A99 #5677BC

Accessibility & contrast

On white

10.21
#2B406D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2B406D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B406D
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B406D#FFFFFF#000000##FFFFFF
##2B406D1.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D446F
Deuteranopia (green-blind)
#253E6C
Tritanopia (blue-blind)
#004A51
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b406d;
/* rgb */ color: rgb(43, 64, 109);
/* oklch */ color: oklch(37.7% 0.082 264.0);
Tailwind
colors: {
  custom: {
    50: '#6a7497',
    500: '#2b406d',
    950: '#000000',
  },
}
SCSS
$custom: #2b406d;
$custom-light: #6a7497;
$custom-dark: #000000;
JSON
{
  "hex": "#2b406d",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 109
  },
  "hsl": {
    "h": 220.909,
    "s": 43.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.37749,
    "c": 0.08182,
    "h": 264
  },
  "luminance": 0.05285
}

Semantic roles & 50–950 ramp

primary
#2B406D
secondary
#9F8755
accent
#AB55D3
background
#F6F7F9
surface
#EBEDF2
border
#C6C8CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2B406D

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

Preview Lab → · Contrast checker → · Palette generator →

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