#2B406A#2B406A

#2B406A is a dark, moderate blue. Relative luminance 0.052; OKLCH L 37.6% C 0.077 H 263.1°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#2B406A
RGBrgb(43, 64, 106)
HSLhsl(220, 42%, 29%)
HSVhsv(220, 59%, 42%)
CMYKcmyk(59.4%, 39.6%, 0%, 58.4%)
CIE-LABlab(27.35, 5.70, -27.04)
CIE-LCHlch(27.35, 27.64, 281.91°)
OKLaboklab(37.56% -0.0093 -0.0766)
OKLCHoklch(37.56% 0.077 263.1)
XYZxyz(5.4303, 5.2206, 14.3544)
Luminance0.0522 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B406A #6A552B
analogous
#2B606A #2B406A #362B6A
triadic
#2B406A #6A2B40 #406A2B
tetradic
#2B406A #6A2B60 #6A552B #2B6A36
square
#2B406A #6A2B60 #6A552B #2B6A36
split-complementary
#2B406A #6A362B #606A2B
monochromatic
#090D16 #19263E #2B406A #3D5A96 #5577BA

Accessibility & contrast

On white

10.27
#2B406A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2B406A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B406A
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B406A#FFFFFF#000000##FFFFFF
##2B406A1.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F446C
Deuteranopia (green-blind)
#273E69
Tritanopia (blue-blind)
#024950
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2b406a;
/* rgb */ color: rgb(43, 64, 106);
/* oklch */ color: oklch(37.6% 0.077 263.1);
Tailwind
colors: {
  custom: {
    50: '#6a7495',
    500: '#2b406a',
    950: '#000000',
  },
}
SCSS
$custom: #2b406a;
$custom-light: #6a7495;
$custom-dark: #000000;
JSON
{
  "hex": "#2b406a",
  "rgb": {
    "r": 43,
    "g": 64,
    "b": 106
  },
  "hsl": {
    "h": 220,
    "s": 42.282,
    "l": 29.216
  },
  "oklch": {
    "l": 0.37556,
    "c": 0.07714,
    "h": 263.1
  },
  "luminance": 0.05221
}

Semantic roles & 50–950 ramp

primary
#2B406A
secondary
#9C8455
accent
#A956D2
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #2B406A

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

Preview Lab → · Contrast checker → · Palette generator →

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