#2B3BB1#2B3BB1

#2B3BB1 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.3% C 0.186 H 270.0°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#2B3BB1
RGBrgb(43, 59, 177)
HSLhsl(233, 61%, 43%)
HSVhsv(233, 76%, 69%)
CMYKcmyk(75.7%, 66.7%, 0%, 30.6%)
CIE-LABlab(31.38, 35.63, -64.30)
CIE-LCHlch(31.38, 73.51, 298.99°)
OKLaboklab(42.28% 0.0001 -0.186)
OKLCHoklch(42.28% 0.186 270)
XYZxyz(10.4933, 6.8147, 42.3488)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3BB1 #B1A12B
analogous
#2B7EB1 #2B3BB1 #5E2BB1
triadic
#2B3BB1 #B12B3B #3BB12B
tetradic
#2B3BB1 #B12B7E #B1A12B #2BB15E
square
#2B3BB1 #B12B7E #B1A12B #2BB15E
split-complementary
#2B3BB1 #B15E2B #7EB12B
monochromatic
#131A4F #1F2B80 #2B3BB1 #4758D2 #7884DE

Accessibility & contrast

On white

8.89
#2B3BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2B3BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3BB1
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3BB1#FFFFFF#000000##FFFFFF
##2B3BB11.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B5
Deuteranopia (green-blind)
#0044AF
Tritanopia (blue-blind)
#005B71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2b3bb1;
/* rgb */ color: rgb(43, 59, 177);
/* oklch */ color: oklch(42.3% 0.186 270.0);
Tailwind
colors: {
  custom: {
    50: '#7a71c9',
    500: '#2b3bb1',
    950: '#000000',
  },
}
SCSS
$custom: #2b3bb1;
$custom-light: #7a71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3bb1",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 232.836,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42277,
    "c": 0.18601,
    "h": 270
  },
  "luminance": 0.06816
}

Semantic roles & 50–950 ramp

primary
#2B3BB1
secondary
#C6BC72
accent
#D144E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2B3BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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