#2B3BB6#2B3BB6

#2B3BB6 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.8% C 0.192 H 269.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#2B3BB6
RGBrgb(43, 59, 182)
HSLhsl(233, 62%, 44%)
HSVhsv(233, 76%, 71%)
CMYKcmyk(76.4%, 67.6%, 0%, 28.6%)
CIE-LABlab(31.85, 37.43, -66.50)
CIE-LCHlch(31.85, 76.31, 299.37°)
OKLaboklab(42.76% -0.0003 -0.1925)
OKLCHoklch(42.76% 0.192 269.9)
XYZxyz(11.0008, 7.0177, 45.0217)
Luminance0.0702 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3BB6 #B6A62B
analogous
#2B80B6 #2B3BB6 #612BB6
triadic
#2B3BB6 #B62B3B #3BB62B
tetradic
#2B3BB6 #B62B80 #B6A62B #2BB661
square
#2B3BB6 #B62B80 #B6A62B #2BB661
split-complementary
#2B3BB6 #B6612B #80B62B
monochromatic
#141B53 #1F2B84 #2B3BB6 #4A5AD4 #7B87E0

Accessibility & contrast

On white

8.74
#2B3BB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2B3BB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3BB6
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3BB6#FFFFFF#000000##FFFFFF
##2B3BB61.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0044B4
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b3bb6;
/* rgb */ color: rgb(43, 59, 182);
/* oklch */ color: oklch(42.8% 0.192 269.9);
Tailwind
colors: {
  custom: {
    50: '#7b71cd',
    500: '#2b3bb6',
    950: '#000000',
  },
}
SCSS
$custom: #2b3bb6;
$custom-light: #7b71cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3bb6",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 182
  },
  "hsl": {
    "h": 233.094,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42758,
    "c": 0.19246,
    "h": 269.9
  },
  "luminance": 0.07019
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B3BB6

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

Preview Lab → · Contrast checker → · Palette generator →

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