#2B3CB6#2B3CB6

#2B3CB6 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.191 H 269.7°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#2B3CB6
RGBrgb(43, 60, 182)
HSLhsl(233, 62%, 44%)
HSVhsv(233, 76%, 71%)
CMYKcmyk(76.4%, 67%, 0%, 28.6%)
CIE-LABlab(32.08, 36.80, -66.12)
CIE-LCHlch(32.08, 75.67, 299.10°)
OKLaboklab(42.93% -0.0009 -0.1913)
OKLCHoklch(42.93% 0.191 269.7)
XYZxyz(11.0527, 7.1215, 45.0390)
Luminance0.0712 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3CB6 #B6A52B
analogous
#2B82B6 #2B3CB6 #602BB6
triadic
#2B3CB6 #B62B3C #3CB62B
tetradic
#2B3CB6 #B62B82 #B6A52B #2BB660
square
#2B3CB6 #B62B82 #B6A52B #2BB660
split-complementary
#2B3CB6 #B6602B #82B62B
monochromatic
#141B53 #1F2C84 #2B3CB6 #4A5BD4 #7B88E0

Accessibility & contrast

On white

8.66
#2B3CB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2B3CB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3CB6
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3CB6#FFFFFF#000000##FFFFFF
##2B3CB61.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0045B4
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b3cb6;
/* rgb */ color: rgb(43, 60, 182);
/* oklch */ color: oklch(42.9% 0.191 269.7);
Tailwind
colors: {
  custom: {
    50: '#7b72cd',
    500: '#2b3cb6',
    950: '#000000',
  },
}
SCSS
$custom: #2b3cb6;
$custom-light: #7b72cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3cb6",
  "rgb": {
    "r": 43,
    "g": 60,
    "b": 182
  },
  "hsl": {
    "h": 232.662,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.42929,
    "c": 0.19133,
    "h": 269.7
  },
  "luminance": 0.07123
}

Semantic roles & 50–950 ramp

primary
#2B3CB6
secondary
#C8BE75
accent
#D143E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2B3CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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