#2B3BC6#2B3BC6

#2B3BC6 is a dark, highly saturated blue. Relative luminance 0.077; OKLCH L 44.3% C 0.213 H 269.5°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#2B3BC6
RGBrgb(43, 59, 198)
HSLhsl(234, 64%, 47%)
HSVhsv(234, 78%, 78%)
CMYKcmyk(78.3%, 70.2%, 0%, 22.4%)
CIE-LABlab(33.39, 43.08, -73.39)
CIE-LCHlch(33.39, 85.10, 300.41°)
OKLaboklab(44.34% -0.0018 -0.2125)
OKLCHoklch(44.34% 0.213 269.5)
XYZxyz(12.7498, 7.7173, 54.2328)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3BC6 #C6B62B
analogous
#2B89C6 #2B3BC6 #682BC6
triadic
#2B3BC6 #C62B3B #3BC62B
tetradic
#2B3BC6 #C62B89 #C6B62B #2BC668
square
#2B3BC6 #C62B89 #C6B62B #2BC668
split-complementary
#2B3BC6 #C6682B #89C62B
monochromatic
#151D61 #202C94 #2B3BC6 #5462DA #8790E5

Accessibility & contrast

On white

8.26
#2B3BC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#2B3BC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3BC6
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3BC6#FFFFFF#000000##FFFFFF
##2B3BC61.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056CA
Deuteranopia (green-blind)
#0047C3
Tritanopia (blue-blind)
#00627C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2b3bc6;
/* rgb */ color: rgb(43, 59, 198);
/* oklch */ color: oklch(44.3% 0.213 269.5);
Tailwind
colors: {
  custom: {
    50: '#7f71d9',
    500: '#2b3bc6',
    950: '#000000',
  },
}
SCSS
$custom: #2b3bc6;
$custom-light: #7f71d9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3bc6",
  "rgb": {
    "r": 43,
    "g": 59,
    "b": 198
  },
  "hsl": {
    "h": 233.806,
    "s": 64.315,
    "l": 47.255
  },
  "oklch": {
    "l": 0.44338,
    "c": 0.21255,
    "h": 269.5
  },
  "luminance": 0.07719
}

Semantic roles & 50–950 ramp

primary
#2B3BC6
secondary
#CEC67F
accent
#D640E7
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2B3BC6

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

Preview Lab → · Contrast checker → · Palette generator →

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