#2B3BB2#2B3BB2

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

Color values

HEX#2B3BB2
RGBrgb(43, 59, 178)
HSLhsl(233, 61%, 43%)
HSVhsv(233, 76%, 70%)
CMYKcmyk(75.8%, 66.9%, 0%, 30.2%)
CIE-LABlab(31.47, 35.99, -64.74)
CIE-LCHlch(31.47, 74.07, 299.07°)
OKLaboklab(42.37% 0 -0.1873)
OKLCHoklch(42.37% 0.187 270)
XYZxyz(10.5934, 6.8547, 42.8756)
Luminance0.0686 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3BB2 #B2A22B
analogous
#2B7EB2 #2B3BB2 #5E2BB2
triadic
#2B3BB2 #B22B3B #3BB22B
tetradic
#2B3BB2 #B22B7E #B2A22B #2BB25E
square
#2B3BB2 #B22B7E #B2A22B #2BB25E
split-complementary
#2B3BB2 #B25E2B #7EB22B
monochromatic
#131A4F #1F2B81 #2B3BB2 #4858D3 #7985DF

Accessibility & contrast

On white

8.86
#2B3BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#2B3BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3BB2
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3BB2#FFFFFF#000000##FFFFFF
##2B3BB21.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0044B0
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b3bb2;
/* rgb */ color: rgb(43, 59, 178);
/* oklch */ color: oklch(42.4% 0.187 270.0);
Tailwind
colors: {
  custom: {
    50: '#7a71ca',
    500: '#2b3bb2',
    950: '#000000',
  },
}
SCSS
$custom: #2b3bb2;
$custom-light: #7a71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3bb2",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 178
  },
  "hsl": {
    "h": 232.889,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42373,
    "c": 0.18731,
    "h": 270
  },
  "luminance": 0.06856
}

Semantic roles & 50–950 ramp

primary
#2B3BB2
secondary
#C7BD72
accent
#D144E4
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B3BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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