#2B3DB4#2B3DB4

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

Color values

HEX#2B3DB4
RGBrgb(43, 61, 180)
HSLhsl(232, 61%, 44%)
HSVhsv(232, 76%, 71%)
CMYKcmyk(76.1%, 66.1%, 0%, 29.4%)
CIE-LABlab(32.14, 35.45, -64.84)
CIE-LCHlch(32.14, 73.90, 298.66°)
OKLaboklab(42.91% -0.0013 -0.1876)
OKLCHoklch(42.91% 0.188 269.6)
XYZxyz(10.9004, 7.1452, 43.9758)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3DB4 #B4A22B
analogous
#2B81B4 #2B3DB4 #5D2BB4
triadic
#2B3DB4 #B42B3D #3DB42B
tetradic
#2B3DB4 #B42B81 #B4A22B #2BB45D
square
#2B3DB4 #B42B81 #B4A22B #2BB45D
split-complementary
#2B3DB4 #B45D2B #81B42B
monochromatic
#131C51 #1F2C83 #2B3DB4 #495BD3 #7A87DF

Accessibility & contrast

On white

8.64
#2B3DB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2B3DB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3DB4
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3DB4#FFFFFF#000000##FFFFFF
##2B3DB41.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0045B2
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2b3db4;
/* rgb */ color: rgb(43, 61, 180);
/* oklch */ color: oklch(42.9% 0.188 269.6);
Tailwind
colors: {
  custom: {
    50: '#7a72cc',
    500: '#2b3db4',
    950: '#000000',
  },
}
SCSS
$custom: #2b3db4;
$custom-light: #7a72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3db4",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 180
  },
  "hsl": {
    "h": 232.117,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42912,
    "c": 0.1876,
    "h": 269.6
  },
  "luminance": 0.07146
}

Semantic roles & 50–950 ramp

primary
#2B3DB4
secondary
#C7BC73
accent
#CF43E5
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2B3DB4

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

Preview Lab → · Contrast checker → · Palette generator →

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