#2B3CB1#2B3CB1

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

Color values

HEX#2B3CB1
RGBrgb(43, 60, 177)
HSLhsl(232, 61%, 43%)
HSVhsv(232, 76%, 69%)
CMYKcmyk(75.7%, 66.1%, 0%, 30.6%)
CIE-LABlab(31.62, 35.00, -63.91)
CIE-LCHlch(31.62, 72.86, 298.71°)
OKLaboklab(42.45% -0.0005 -0.1849)
OKLCHoklch(42.45% 0.185 269.8)
XYZxyz(10.5452, 6.9185, 42.3661)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3CB1 #B1A02B
analogous
#2B7FB1 #2B3CB1 #5D2BB1
triadic
#2B3CB1 #B12B3C #3CB12B
tetradic
#2B3CB1 #B12B7F #B1A02B #2BB15D
square
#2B3CB1 #B12B7F #B1A02B #2BB15D
split-complementary
#2B3CB1 #B15D2B #7FB12B
monochromatic
#131B4F #1F2B80 #2B3CB1 #4759D2 #7885DE

Accessibility & contrast

On white

8.81
#2B3CB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B3CB1
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3CB1#FFFFFF#000000##FFFFFF
##2B3CB11.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b3cb1;
/* rgb */ color: rgb(43, 60, 177);
/* oklch */ color: oklch(42.5% 0.185 269.8);
Tailwind
colors: {
  custom: {
    50: '#7972c9',
    500: '#2b3cb1',
    950: '#000000',
  },
}
SCSS
$custom: #2b3cb1;
$custom-light: #7972c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3cb1",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 177
  },
  "hsl": {
    "h": 232.388,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42452,
    "c": 0.18486,
    "h": 269.8
  },
  "luminance": 0.0692
}

Semantic roles & 50–950 ramp

primary
#2B3CB1
secondary
#C6BB72
accent
#D044E4
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2B3CB1

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

Preview Lab → · Contrast checker → · Palette generator →

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