#2B3CB9#2B3CB9

#2B3CB9 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.2% C 0.195 H 269.7°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#2B3CB9
RGBrgb(43, 60, 185)
HSLhsl(233, 62%, 45%)
HSVhsv(233, 77%, 73%)
CMYKcmyk(76.8%, 67.6%, 0%, 27.5%)
CIE-LABlab(32.36, 37.88, -67.43)
CIE-LCHlch(32.36, 77.34, 299.32°)
OKLaboklab(43.22% -0.0011 -0.1952)
OKLCHoklch(43.22% 0.195 269.7)
XYZxyz(11.3661, 7.2468, 46.6893)
Luminance0.0725 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3CB9 #B9A82B
analogous
#2B83B9 #2B3CB9 #612BB9
triadic
#2B3CB9 #B92B3C #3CB92B
tetradic
#2B3CB9 #B92B83 #B9A82B #2BB961
square
#2B3CB9 #B92B83 #B9A82B #2BB961
split-complementary
#2B3CB9 #B9612B #83B92B
monochromatic
#141C56 #1F2C87 #2B3CB9 #4C5CD5 #7E89E1

Accessibility & contrast

On white

8.57
#2B3CB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2B3CB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3CB9
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3CB9#FFFFFF#000000##FFFFFF
##2B3CB91.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0045B7
Tritanopia (blue-blind)
#005E75
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b3cb9;
/* rgb */ color: rgb(43, 60, 185);
/* oklch */ color: oklch(43.2% 0.195 269.7);
Tailwind
colors: {
  custom: {
    50: '#7b72cf',
    500: '#2b3cb9',
    950: '#000000',
  },
}
SCSS
$custom: #2b3cb9;
$custom-light: #7b72cf;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3cb9",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 232.817,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43219,
    "c": 0.19517,
    "h": 269.7
  },
  "luminance": 0.07248
}

Semantic roles & 50–950 ramp

primary
#2B3CB9
secondary
#C9BF76
accent
#D242E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2B3CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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