#2B3DB1#2B3DB1

#2B3DB1 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.184 H 269.7°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#2B3DB1
RGBrgb(43, 61, 177)
HSLhsl(232, 61%, 43%)
HSVhsv(232, 76%, 69%)
CMYKcmyk(75.7%, 65.5%, 0%, 30.6%)
CIE-LABlab(31.86, 34.36, -63.51)
CIE-LCHlch(31.86, 72.21, 298.41°)
OKLaboklab(42.63% -0.0011 -0.1837)
OKLCHoklch(42.63% 0.184 269.7)
XYZxyz(10.5981, 7.0243, 42.3837)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B3DB1 #B19F2B
analogous
#2B80B1 #2B3DB1 #5C2BB1
triadic
#2B3DB1 #B12B3D #3DB12B
tetradic
#2B3DB1 #B12B80 #B19F2B #2BB15C
square
#2B3DB1 #B12B80 #B19F2B #2BB15C
split-complementary
#2B3DB1 #B15C2B #80B12B
monochromatic
#131B4F #1F2C80 #2B3DB1 #475AD2 #7886DE

Accessibility & contrast

On white

8.73
#2B3DB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2B3DB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B3DB1
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B3DB1#FFFFFF#000000##FFFFFF
##2B3DB11.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0045AF
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2b3db1;
/* rgb */ color: rgb(43, 61, 177);
/* oklch */ color: oklch(42.6% 0.184 269.7);
Tailwind
colors: {
  custom: {
    50: '#7972c9',
    500: '#2b3db1',
    950: '#000000',
  },
}
SCSS
$custom: #2b3db1;
$custom-light: #7972c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2b3db1",
  "rgb": {
    "r": 43,
    "g": 61,
    "b": 177
  },
  "hsl": {
    "h": 231.94,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.42628,
    "c": 0.1837,
    "h": 269.7
  },
  "luminance": 0.07025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2B3DB1

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

Preview Lab → · Contrast checker → · Palette generator →

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