#2B3BB7#2B3BB7

#2B3BB7 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.194 H 269.9°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#2B3BB7
RGBrgb(43, 59, 183)
HSLhsl(233, 62%, 44%)
HSVhsv(233, 77%, 72%)
CMYKcmyk(76.5%, 67.8%, 0%, 28.2%)
CIE-LABlab(31.94, 37.79, -66.94)
CIE-LCHlch(31.94, 76.87, 299.44°)
OKLaboklab(42.86% -0.0004 -0.1937)
OKLCHoklch(42.86% 0.194 269.9)
XYZxyz(11.1045, 7.0592, 45.5679)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3BB7 #B7A72B
analogous
#2B81B7 #2B3BB7 #612BB7
triadic
#2B3BB7 #B72B3B #3BB72B
tetradic
#2B3BB7 #B72B81 #B7A72B #2BB761
square
#2B3BB7 #B72B81 #B7A72B #2BB761
split-complementary
#2B3BB7 #B7612B #81B72B
monochromatic
#141B54 #1F2B85 #2B3BB7 #4B5AD5 #7C88E0

Accessibility & contrast

On white

8.71
#2B3BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2B3BB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3BB7
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3BB7#FFFFFF#000000##FFFFFF
##2B3BB71.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0044B5
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b3bb7;
/* rgb */ color: rgb(43, 59, 183);
/* oklch */ color: oklch(42.9% 0.194 269.9);
Tailwind
colors: {
  custom: {
    50: '#7b71ce',
    500: '#2b3bb7',
    950: '#000000',
  },
}
SCSS
$custom: #2b3bb7;
$custom-light: #7b71ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3bb7",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 183
  },
  "hsl": {
    "h": 233.143,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42855,
    "c": 0.19374,
    "h": 269.9
  },
  "luminance": 0.0706
}

Semantic roles & 50–950 ramp

primary
#2B3BB7
secondary
#C9BF75
accent
#D243E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2B3BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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