#2B3DB6#2B3DB6

#2B3DB6 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.1% C 0.190 H 269.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#2B3DB6
RGBrgb(43, 61, 182)
HSLhsl(232, 62%, 44%)
HSVhsv(232, 76%, 71%)
CMYKcmyk(76.4%, 66.5%, 0%, 28.6%)
CIE-LABlab(32.32, 36.17, -65.73)
CIE-LCHlch(32.32, 75.02, 298.82°)
OKLaboklab(43.1% -0.0014 -0.1902)
OKLCHoklch(43.1% 0.19 269.6)
XYZxyz(11.1056, 7.2273, 45.0566)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3DB6 #B6A42B
analogous
#2B83B6 #2B3DB6 #5F2BB6
triadic
#2B3DB6 #B62B3D #3DB62B
tetradic
#2B3DB6 #B62B83 #B6A42B #2BB65F
square
#2B3DB6 #B62B83 #B6A42B #2BB65F
split-complementary
#2B3DB6 #B65F2B #83B62B
monochromatic
#141C53 #1F2C84 #2B3DB6 #4A5CD4 #7B88E0

Accessibility & contrast

On white

8.59
#2B3DB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2B3DB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3DB6
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3DB6#FFFFFF#000000##FFFFFF
##2B3DB61.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0045B4
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b3db6;
/* rgb */ color: rgb(43, 61, 182);
/* oklch */ color: oklch(43.1% 0.190 269.6);
Tailwind
colors: {
  custom: {
    50: '#7b72cd',
    500: '#2b3db6',
    950: '#000000',
  },
}
SCSS
$custom: #2b3db6;
$custom-light: #7b72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3db6",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 182
  },
  "hsl": {
    "h": 232.23,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43102,
    "c": 0.1902,
    "h": 269.6
  },
  "luminance": 0.07228
}

Semantic roles & 50–950 ramp

primary
#2B3DB6
secondary
#C8BD75
accent
#D043E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2B3DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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