#2B3BB3#2B3BB3

#2B3BB3 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.189 H 270.0°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#2B3BB3
RGBrgb(43, 59, 179)
HSLhsl(233, 61%, 44%)
HSVhsv(233, 76%, 70%)
CMYKcmyk(76%, 67%, 0%, 29.8%)
CIE-LABlab(31.57, 36.35, -65.18)
CIE-LCHlch(31.57, 74.64, 299.15°)
OKLaboklab(42.47% -0.0001 -0.1886)
OKLCHoklch(42.47% 0.189 270)
XYZxyz(10.6941, 6.8950, 43.4064)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3BB3 #B3A32B
analogous
#2B7FB3 #2B3BB3 #5F2BB3
triadic
#2B3BB3 #B32B3B #3BB32B
tetradic
#2B3BB3 #B32B7F #B3A32B #2BB35F
square
#2B3BB3 #B32B7F #B3A32B #2BB35F
split-complementary
#2B3BB3 #B35F2B #7FB32B
monochromatic
#131A50 #1F2B82 #2B3BB3 #4858D3 #7985DF

Accessibility & contrast

On white

8.83
#2B3BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2B3BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3BB3
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3BB3#FFFFFF#000000##FFFFFF
##2B3BB31.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0044B1
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b3bb3;
/* rgb */ color: rgb(43, 59, 179);
/* oklch */ color: oklch(42.5% 0.189 270.0);
Tailwind
colors: {
  custom: {
    50: '#7a71cb',
    500: '#2b3bb3',
    950: '#000000',
  },
}
SCSS
$custom: #2b3bb3;
$custom-light: #7a71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3bb3",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 232.941,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42469,
    "c": 0.1886,
    "h": 270
  },
  "luminance": 0.06896
}

Semantic roles & 50–950 ramp

primary
#2B3BB3
secondary
#C7BD73
accent
#D143E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B3BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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